-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
51 lines (41 loc) · 921 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
40
41
42
43
44
45
46
47
48
49
50
51
[build-system]
requires = ["setuptools", "wheel"] # PEP 508 specifications.
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
[tool.isort]
profile = "black"
known_third_party = ["stockroom", "hangar"]
[tool.coverage.paths]
source = ["stockroom"]
[tool.coverage.run]
branch = true
source = ["stockroom", "tests"]
parallel = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"pass",
"def __repr__",
"def _repr_pretty_",
"def _ipython_key_completions_"]
show_missing = true
precision = 2