-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
51 lines (44 loc) · 902 Bytes
/
setup.cfg
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
[bumpversion]
current_version = 0.1.0
commit = True
tag = True
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file:src/amanda/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[flake8]
ignore = E731,W503,E203,F841,F401
max-line-length = 88
exclude =
*_pb2.py,
examples
per-file-ignores =
# imported but unused
__init__.py: F401
[tool:pytest]
testpaths = src
xfail_strict=true
python_files =
test_*.py
*_test.py
tests.py
addopts =
-ra
--strict
--doctest-modules
--doctest-glob=\*.rst
--tb=short
-vv
-s
markers =
slow: mark a test as a slow test.
[mypy]
files = src
ignore_missing_imports = True
strict_optional = False
[mypy-amanda.io.graph_pb2]
ignore_errors = True
[mypy-amanda.io.value_pb2]
ignore_errors = True