forked from opensafely-core/opencodelists
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
39 lines (34 loc) · 981 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
29
30
31
32
33
34
35
36
37
38
39
[tool.black]
exclude = '''
(
/(
\.git # exclude a few common directories in the
| migrations # root of the project
| \.direnv
| \.venv
| coding_systems/snomedct/parser_utils/*
)/
)
'''
[tool.coverage.run]
branch = true
omit = [
"opencodelists/asgi.py",
"opencodelists/django_test_runner.py",
"opencodelists/settings.py",
"opencodelists/wsgi.py",
]
[tool.coverage.report]
skip_covered = true
[tool.coverage.html]
[tool.isort]
force_grid_wrap = 0
include_trailing_comma = true
line_length = 88
multi_line_output = 3
use_parentheses = true
skip_glob = [".direnv", "*migrations*", "tmp", ".venv", "coding_systems/snomedct/parser_utils/*"]
known_third_party = ["antlr4", "bleach", "crispy_forms", "debug_toolbar", "django", "fabric", "hypothesis", "lxml", "markdown2", "openpyxl", "pytest", "rest_framework", "sentry_sdk", "structlog"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "opencodelists.settings"
addopts = "--tb=native"