-
-
Notifications
You must be signed in to change notification settings - Fork 96
/
pyproject.toml
65 lines (56 loc) · 1.11 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[tool.black]
# Force exclude is used as pre-commit feeds individual file names based on
# filters
force-exclude = '''
(
/.local/
| /node_modules/
| /venv/
)
'''
line-length = 79
target-version = ['py311', 'py312']
[tool.coverage.run]
branch = true
concurrency = ['multiprocessing']
omit = [
'*/management/commands/*',
'*/migrations/*',
'*/settings/*',
'*/tests/*',
'*/urls.py',
'*/wsgi.py',
'.direnv/*',
'.local/*',
'env/*',
'fabfile.py',
'manage.py',
'venv/*',
]
parallel = true
source = [
'.',
]
[tool.coverage.report]
fail_under = 98.00
precision = 2
show_missing = true
skip_covered = true
skip_empty = true
# [tool.flake8]
# config: .flake8
# also see: https://github.com/PyCQA/flake8/issues/234
[tool.isort]
extend_skip = [
'.cache',
]
import_heading_firstparty = 'First-party/Local'
import_heading_future = 'Future'
import_heading_stdlib = 'Standard library'
import_heading_thirdparty = 'Third-party'
line_length = 79
multi_line_output = 3
no_lines_before = 'LOCALFOLDER'
profile = 'black'
# [tool.pre-commit]
# config: .pre-commit-config.yaml