-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (44 loc) · 1.09 KB
/
pyproject.toml
File metadata and controls
51 lines (44 loc) · 1.09 KB
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
[tool.black]
skip-string-normalization = true
[tool.flake8]
show-source = true
max-line-length = 99
application-import-names = "wazo_auth"
ignore = [
"E203", # whitespace before ':'
"W503", # line break before binary operator
]
exclude = [
".tox",
".eggs",
]
[tool.isort]
profile = "black"
py_version = 311
[tool.pytest]
testpaths = ["wazo_auth"]
[tool.mypy]
python_version = "3.11"
plugins = ["sqlalchemy.ext.mypy.plugin"]
follow_imports = "silent"
ignore_missing_imports = true
show_error_codes = true
check_untyped_defs = true
warn_unused_configs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
warn_unused_ignores = true
strict_equality = true
extra_checks = true
no_warn_no_return = true
# avoid conflicts between modules of the same name e.g. setup.py
explicit_package_bases = true
# opt-in mode, disable when everything is sufficiently typed
ignore_errors = true
# extend as modules are typed, eventually remove or replace with exclusions
[[tool.mypy.overrides]]
module = [
"wazo_auth.database.queries.token",
]
ignore_errors = false