summaryrefslogtreecommitdiff
path: root/pyproject.toml
blob: 324d6f353b7ee7dda8684d62d9a6df59430a130c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[tool.black]
line-length = 79

[tool.isort]
profile = "black"
line_length = 79
# We patch logging in main.py before certain imports
skip = ["cloudinit/cmd/main.py", ".tox", "packages", "tools"]

[tool.mypy]
follow_imports = "silent"
exclude=[
  '^cloudinit/apport\.py$',
  '^cloudinit/cmd/query\.py$',
  '^cloudinit/config/cc_chef\.py$',
  '^cloudinit/config/cc_keyboard\.py$',
  '^cloudinit/config/cc_landscape\.py$',
  '^cloudinit/config/cc_mcollective\.py$',
  '^cloudinit/config/cc_rsyslog\.py$',
  '^cloudinit/config/cc_write_files_deferred\.py$',
  '^cloudinit/config/cc_zypper_add_repo\.py$',
  '^cloudinit/config/schema\.py$',
  '^cloudinit/distros/bsd\.py$',
  '^cloudinit/distros/freebsd\.py$',
  '^cloudinit/distros/parsers/networkmanager_conf\.py$',
  '^cloudinit/distros/parsers/resolv_conf\.py$',
  '^cloudinit/distros/parsers/sys_conf\.py$',
  '^cloudinit/dmi\.py$',
  '^cloudinit/features\.py$',
  '^cloudinit/handlers/cloud_config\.py$',
  '^cloudinit/handlers/jinja_template\.py$',
  '^cloudinit/net/__init__\.py$',
  '^cloudinit/net/dhcp\.py$',
  '^cloudinit/net/netplan\.py$',
  '^cloudinit/net/sysconfig\.py$',
  '^cloudinit/serial\.py$',
  '^cloudinit/sources/DataSourceAliYun\.py$',
  '^cloudinit/sources/DataSourceLXD\.py$',
  '^cloudinit/sources/DataSourceOracle\.py$',
  '^cloudinit/sources/DataSourceScaleway\.py$',
  '^cloudinit/sources/DataSourceSmartOS\.py$',
  '^cloudinit/sources/DataSourceVMware\.py$',
  '^cloudinit/sources/__init__\.py$',
  '^cloudinit/sources/helpers/vmware/imc/config_file\.py$',
  '^cloudinit/stages\.py$',
  '^cloudinit/templater\.py$',
  '^cloudinit/url_helper\.py$',
  '^conftest\.py$',
  '^doc/rtd/conf\.py$',
  '^setup\.py$',
  '^tests/integration_tests/clouds\.py$',
  '^tests/integration_tests/conftest\.py$',
  '^tests/integration_tests/instances\.py$',
  '^tests/integration_tests/integration_settings\.py$',
  '^tests/integration_tests/modules/test_disk_setup\.py$',
  '^tests/integration_tests/modules/test_growpart\.py$',
  '^tests/integration_tests/modules/test_ssh_keysfile\.py$',
  '^tests/unittests/__init__\.py$',
  '^tests/unittests/cmd/devel/test_render\.py$',
  '^tests/unittests/cmd/test_clean\.py$',
  '^tests/unittests/cmd/test_cloud_id\.py$',
  '^tests/unittests/cmd/test_main\.py$',
  '^tests/unittests/cmd/test_query\.py$',
  '^tests/unittests/cmd/test_status\.py$',
  '^tests/unittests/config/test_cc_chef\.py$',
  '^tests/unittests/config/test_cc_landscape\.py$',
  '^tests/unittests/config/test_cc_locale\.py$',
  '^tests/unittests/config/test_cc_mcollective\.py$',
  '^tests/unittests/config/test_cc_rh_subscription\.py$',
  '^tests/unittests/config/test_cc_set_hostname\.py$',
  '^tests/unittests/config/test_cc_snap\.py$',
  '^tests/unittests/config/test_cc_timezone\.py$',
  '^tests/unittests/config/test_cc_ubuntu_advantage\.py$',
  '^tests/unittests/config/test_cc_ubuntu_drivers\.py$',
  '^tests/unittests/config/test_schema\.py$',
  '^tests/unittests/helpers\.py$',
  '^tests/unittests/net/test_dhcp\.py$',
  '^tests/unittests/net/test_init\.py$',
  '^tests/unittests/sources/test_aliyun\.py$',
  '^tests/unittests/sources/test_azure\.py$',
  '^tests/unittests/sources/test_ec2\.py$',
  '^tests/unittests/sources/test_exoscale\.py$',
  '^tests/unittests/sources/test_gce\.py$',
  '^tests/unittests/sources/test_lxd\.py$',
  '^tests/unittests/sources/test_opennebula\.py$',
  '^tests/unittests/sources/test_openstack\.py$',
  '^tests/unittests/sources/test_rbx\.py$',
  '^tests/unittests/sources/test_scaleway\.py$',
  '^tests/unittests/sources/test_smartos\.py$',
  '^tests/unittests/test_data\.py$',
  '^tests/unittests/test_ds_identify\.py$',
  '^tests/unittests/test_ec2_util\.py$',
  '^tests/unittests/test_net\.py$',
  '^tests/unittests/test_net_activators\.py$',
  '^tests/unittests/test_persistence\.py$',
  '^tests/unittests/test_sshutil\.py$',
  '^tests/unittests/test_subp\.py$',
  '^tests/unittests/test_templating\.py$',
  '^tests/unittests/test_url_helper\.py$',
  '^tests/unittests/test_util\.py$',
  '^tools/mock-meta\.py$',
]