-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
tox.ini
49 lines (45 loc) · 1 KB
/
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
[flake8]
max-line-length=100
docstring-convention=all
ignore=
P102,B311,W503,E226,S311,
# Missing Docstrings
D100,D104,D105,D107,
# Docstring Whitespace
D203,D212,D214,D215,
# Docstring Quotes
D301,D302,
# Docstring Content
D400,D401,D402,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414,D416,D417
# Type Annotations
TYP002,TYP003,TYP101,TYP102,TYP204,TYP206
exclude=
__pycache__,.cache,
venv,.venv,
build, dist,
error_codes.py,
.tox
import-order-style=pycharm
[pytest]
testpaths = testing/
junit_family = xunit2
addopts =
--junitxml=test-pytest.xml
--cov=flake8_annotations --cov=testing
--cov-branch
--cov-append --cov-report xml:cov.xml --cov-report term-missing
[tox]
envlist = clean,py36,py37,py38
skip_missing_interpreters = true
minversion = 3.14.0
[testenv]
commands = python3 -m pytest
deps =
pytest
pytest-check
pytest-cov
flake8
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase