-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
43 lines (36 loc) · 1.03 KB
/
pyproject.toml
File metadata and controls
43 lines (36 loc) · 1.03 KB
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
[build-system]
requires = ["setuptools >= 58.1.0", "wheel >= 0.37.0"]
build-backend = "setuptools.build_meta"
[tool.mypy]
ignore_missing_imports = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
# PROGRAM SETTINGS
[tool.coverage.run]
branch = true
source = [
"unnamed",
] # I don't know why this shouldn't be "src/unnamed", but that value doesn't work...
parallel = true
relative_files = true
[tool.coverage.paths]
source = ["src/unnamed", ".tox/py3*/lib/python3.*/site-packages/unnamed"]
[tool.coverage.report]
# fail_under = 100
precision = 0
# show_missing = True
skip_covered = true
skip_empty = true
sort = "Cover"
[tool.black]
line-length = 120
[tool.isort]
line_length = 120
profile = "black"
src_paths = ["src", "tests"]
[tool.pytest.ini_options]
addopts = "--durations-min=1 --stepwise --verbosity=2 --no-header"
# addopts = "--durations=10 --durations-min=1 --stepwise --verbosity=1 --no-header"
testpaths = ["tests"]
markers = ["no_cover: some pytest-integration default mark that's not known?."]