-
Notifications
You must be signed in to change notification settings - Fork 11
/
tox.ini
52 lines (47 loc) · 841 Bytes
/
tox.ini
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
[tox]
requires =
tox>=4
env_list = lint, py{310,311,312}
[testenv]
description = run unit tests
deps =
pytest>=7
pytest-cov
commands =
pytest --cov=readingbricks {posargs}
[testenv:lint]
description = run linters
skip_install = true
deps =
flake8
flake8-docstrings
commands = flake8 readingbricks tests git_hooks
[coverage:run]
branch = True
source = readingbricks
omit =
*/__main__.py
readingbricks/app_for_server.py
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if .debug:
raise AssertionError
raise NotImplementedError
raise RuntimeError
raise AttributeError
raise ValueError
raise TypeError
if __name__ == .__main__.:
pass
[flake8]
ignore =
W503
exclude =
.git
.eggs
venv
notes
max-line-length = 99
max-complexity = 5