summaryrefslogtreecommitdiff
path: root/pyproject.toml
blob: 88b350b0bc76363fcd71ae157581c43c4b47102b (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
[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"
warn_unused_ignores = "true"
warn_redundant_casts = "true"
exclude=[]

[[tool.mypy.overrides]]
module = [
  "apport.*",
  "BaseHTTPServer",
  "cloudinit.feature_overrides",
  "configobj",
  "debconf",
  "httplib",
  "jsonpatch",
  "netifaces",
  "paramiko.*",
  "pip.*",
  "pycloudlib.*",
  "responses",
  "serial",
  "tests.integration_tests.user_settings",
  "uaclient.*"
]
ignore_missing_imports = true