-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (42 loc) · 996 Bytes
/
pyproject.toml
File metadata and controls
49 lines (42 loc) · 996 Bytes
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
[tool.mypy]
python_version = "3.11"
show_error_codes = true
check_untyped_defs = true
warn_unused_configs = true
ignore_missing_imports = true
# Tests use unittest.mock and hamcrest extensively — Mock/AsyncMock
# patterns and hamcrest matchers trigger false positives.
[[tool.mypy.overrides]]
module = ["*.tests.*", "integration_tests.*"]
disable_error_code = ["method-assign", "attr-defined", "arg-type"]
[tool.black]
skip-string-normalization = true
[tool.flake8]
show-source = true
max-line-length = 99
application-import-names = "wazo_chatd"
ignore = [
"E203", # whitespace before ':'
"E501", # line too long (80 chars)
"W503", # line break before binary operator
]
exclude = [
".tox",
".eggs",
"alembic/*",
]
[tool.isort]
profile = "black"
py_version = 311
[tool.coverage.paths]
source = [
"wazo_chatd",
"/usr/src/wazo-chatd/wazo_chatd",
]
[tool.coverage.run]
omit = [
"*/test-connector/*",
"*/test_connector/*",
]
[tool.pytest]
testpaths = ["wazo_chatd"]