Skip to content

Commit

Permalink
[req-change] Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed Aug 12, 2024
1 parent 83c10cf commit 480c7f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
[tool.coverage.run]
source = ["django_loci"]
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 = [
"django_loci/__init__.py",
Expand All @@ -13,7 +19,7 @@ extend_exclude = ["**/*.py"]

[tool.isort]
known_third_party = ["django"]
known_first_party = ["openwisp_utils"]
known_first_party = ["django_loci", "openwisp_utils"]
default_section = "THIRDPARTY"
line_length = 88
multi_line_output = 3
Expand Down
2 changes: 0 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[bdist_wheel]
universal=1



[flake8]
exclude = migrations,
./tests/*settings*.py
Expand Down

0 comments on commit 480c7f4

Please sign in to comment.