-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
45 lines (40 loc) · 814 Bytes
/
tox.ini
File metadata and controls
45 lines (40 loc) · 814 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
40
41
42
43
44
45
[tox]
envlist = lint,typing,py3
isolated_build = True
minversion = 3.3.0
[testenv]
extras = test
commands =
python -m pytest -v {posargs} src
[testenv:lint]
skip_install = True
deps =
flake8
flake8-bugbear
flake8-builtins
flake8-unused-arguments
commands =
flake8 src
[testenv:typing]
deps =
mypy
commands =
mypy src
[flake8]
doctests = True
exclude = .*/,build/,dist/,test/data,venv/
hang-closing = False
max-doc-length = 100
max-line-length = 80
unused-arguments-ignore-stub-functions = True
select = A,B,B902,B950,C,E,E242,F,U100,W
ignore = B005,E203,E262,E266,E501,W503
[isort]
atomic = True
force_sort_within_sections = True
honor_noqa = True
lines_between_sections = 0
profile = black
reverse_relative = True
sort_relative_in_force_sorted_sections = True
src_paths = src