-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
49 lines (44 loc) · 975 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
[tool.semantic_release]
branch = "main"
version_variable = [
"scripts/__init__.py:__version__"
]
changelog_file = "CHANGELOG.rst"
upload_to_pypi = false
upload_to_release = false
[tool.coverage.run]
branch = true
source = ["scripts"]
omit = ["*/__init__.py"]
[tool.coverage.report]
show_missing = true
exclude_lines = [
'pragma: no cover',
'if __name__ == "__main__":',
]
[tool.pytest.ini_options]
addopts = """
-vv
--ignore=docs
--diff-type=split
--cov=scripts
--cov-report=term
--cov-report=xml
--typeguard-packages=scripts
"""
[tool.isort]
profile = "black"
skip_gitignore = true
float_to_top = false
[tool.flake8]
select = "ANN,B,B9,C,C4,D,DAR,F,S,SC"
ignore = "ANN101,S101"
per-file-ignores = "tests/custom_tmp_file.py:B950"
exclude = "docs/conf.py"
max-line-length = 88
max-complexity = 10
docstring-convention = "numpy"
docstring-style = "numpy"
strictness = "short"
dictionaries = "en_US,python,technical"
spellcheck-targets = "comments"