-
Notifications
You must be signed in to change notification settings - Fork 61
/
tox.ini
48 lines (42 loc) · 796 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
[tox]
envlist = py310, flake8, mypy
[testenv]
setenv =
PYTHONWARNINGS = all
commands = pytest --showlocals {posargs}
deps =
pytest
pytest-mock
requests-mock
[testenv:flake8]
skip_install = True
commands =
flake8
deps =
flake8==3.7.7
flake8-isort==2.6.0
flake8-quotes==1.0.0
isort<5
[testenv:mypy]
commands =
mypy --ignore-missing --install-types hearthstone
mypy --ignore-missing-imports hearthstone
deps =
mypy
types-requests
types-setuptools
[flake8]
ignore = E117, W191, I201, W504, E731
max-line-length = 92
exclude = .tox, build/
inline-quotes = double
[isort]
indent = tab
line_length = 92
lines_after_imports = 2
balanced_wrapping = true
combine_as_imports = true
default_section = THIRDPARTY
known_first_party = hearthstone
multi_line_output = 5
skip = .tox, build/