-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
50 lines (42 loc) · 1.06 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
[build-system]
requires = [
"setuptools>=42",
"setuptools_scm[toml]>=6.2",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.coverage.run]
branch = true
source = ["src/django_multisite_plus", "./tests"]
data_file = ".artifacts/coverage"
[tool.coverage.paths]
source = [
"src",
"~/.toxenvs/django-multisite-plus/*/lib*/python*/site-packages",
]
[tool.coverage.report]
precision = 1
skip_covered = true
[tool.coverage.html]
directory = ".artifacts/htmlcov"
show_contexts = true
skip_covered = false
[tool.pytest.ini_options]
pythonpath = "./tests"
addopts = "-rxs --import-mode=importlib --cov-report= --cov=django_multisite_plus --cov=tests --cov-context=test"
[tool.black]
line-length = 79
[tool.isort]
profile = "black"
line_length = 79
lines_after_imports = 2
lines_between_types = 0
include_trailing_comma = true
atomic = true
order_by_type = true
use_parentheses = true
multi_line_output = 3
overwrite_in_place = true
known_django = ["django"]
sections = ["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
[tool.setuptools_scm]