-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
57 lines (50 loc) · 1.84 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
[build-system]
requires = ["setuptools>=75.0", "build>=1.2.1", "wheel>=0.44"]
build-backend = "setuptools.build_meta"
[tool.flake8]
# OPTIONAL - BCP selection
# select = ["C", "E", "F", "W", "B", "B950"]
# CEP-7 specific
extend-select = ["D", "E"]
# OPTIONAL - BCP Ignore specific warnings and errors according to CEP-8 style
# ignore = ["W191", "W391", "E117"]
# Ignore specific warnings and errors according to CEP-7 style
extend-ignore = ["E117", "D203", "D208", "D212"]
# REQUIRED CEP-7 Custom Exceptions:
# E117, # Over-indented - RECOMMENDED
# D208, # Docstring is over-indented - CEP-7
# D203, # 1 blank line required before class docstring - CEP-7
# D212, # Multi-line docstring summary should start at the first line - CEP-7
# OPTIONAL - BCP Ignore long lines as specified in CEP-8
max-line-length = 100
docstring-convention = "google"
[tool.pytest]
testpaths = "tests"
python_files = "test_*.py"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = "tests"
python_files = "test_*.py"
addopts = "--cache-clear --doctest-glob=**/*.py --doctest-modules"
[tool.pytest.markers]
mat = "minimum acceptance tests"
basic = "basic component tests"
doctests = "documentation tests"
say = "send.py focused tests"
hear = "recv.py and hear.py focused tests"
usage = "__main__.py and API tests"
build = "build and packaging tests"
bootstrap = "init/exceptions/env/skt tests"
extra = "additional important tests"
coverage = "coverage-focused tests"
linting = "linting tests"
security = "security tests"
fuzzing = "fuzzing tests"
slow = "smaller sub-set of fuzzing tests"
performance = "performance and scalability tests"
[tool.pytest.enabler.flake8]
addopts = "--flake8"
[tool.pytest.enabler.doctest]
addopts = "--doctest-glob=**/*.py --doctest-modules"
[tool.pytest.enabler.cov]
addopts = "--cov=. --cov-append --cov-report=xml --junitxml=test-reports/junit.xml"