-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
pyproject.toml
28 lines (26 loc) · 912 Bytes
/
pyproject.toml
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
[tool.coverage.run]
source = ["openwisp_notifications"]
parallel = true
# To ensure correct coverage, we need to include both
# "multiprocessing" and "thread" in the concurrency list.
# This is because Django test suite incorrectly reports coverage
# when "multiprocessing" is omitted and the "--parallel" flag
# is used. Similarly, coverage for websocket consumers is
# incorrect when "thread" is omitted and pytest is used.
concurrency = ["multiprocessing", "thread"]
omit = [
"openwisp_notifications/__init__.py",
"*/tests/*",
"*/migrations/*",
]
[tool.docstrfmt]
extend_exclude = ["**/*.py"]
[tool.isort]
known_third_party = ["django", "django_x509", "notifications"]
known_first_party = ["openwisp_users", "openwisp_utils", "openwisp_notifications"]
default_section = "THIRDPARTY"
line_length = 88
multi_line_output = 3
use_parentheses = true
include_trailing_comma = true
force_grid_wrap = 0