-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
63 lines (55 loc) · 1.21 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
[build-system]
requires = [
"setuptools>=45",
"setuptools_scm[toml]>=6.0",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude ='''
/(
\.eggs # exclude a few common directories
| \.git # in the root of the project
| \.hg
| \.mypy_cache
| \.nox
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 120
known_local_folder = ["noisy_search", "remote", "sighandler"]
[tool.pytest.ini_options]
testpaths = "test"
addopts = "--cov-context=test --cov-report html --import-mode=prepend"
markers = ["mask_timestamp", "use_vkgdr", "cmdline_args", "spectra_per_heap", "slow"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.coverage.run]
branch = true
command_line = "-m pytest"
source = [
"katgpucbf",
"test/",
]
[tool.coverage.html]
show_contexts = true
[tool.coverage.paths]
source = [
"src",
"*/site-packages",
]
[tool.coverage.report]
exclude_lines = [
'#\s*(pragma|PRAGMA)[:\s]?\s*(no|NO)\s*(cover|COVER)', # Default from coverage
'@(?:numba\.)?(?:njit|cfunc)', # Compiled so coverage can't see the code being executed
'@(abc\.)?abstractmethod',
]