-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (34 loc) · 851 Bytes
/
pyproject.toml
File metadata and controls
39 lines (34 loc) · 851 Bytes
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
# `coverage` configurations
[tool.coverage.run]
source = [
"./hooks",
"./{{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name.lower().replace(' ', '_').replace('-', '_') }}"
]
omit = [
"./{{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name.lower().replace(' ', '_').replace('-', '_') }}/run_pipeline.py"
]
[tool.coverage.omit]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:"
]
# `isort` configurations
[tool.isort]
profile = "black"
# `pytest` configurations
[tool.pytest.ini_options]
addopts = [
"-vv",
"--doctest-modules",
"--ignore='./docs/'",
"--ignore='./example/'",
"--ignore='./{{ cookiecutter.repo_name }}/docs/'"
]
doctest_optionflags = "NORMALIZE_WHITESPACE"
testpaths = [
"./tests"
]
# `bandit' configurations
[tool.bandit]
exclude_dirs = ["tests", "docs"]
skips = []