forked from ultrabug/py3status
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
39 lines (36 loc) · 890 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
[tox]
skip_missing_interpreters = True
[testenv]
skip_install = True
deps =
pytest
pytest-flake8
commands =
pytest --flake8
[testenv:py36]
skip_install = True
deps =
black
pytest
pytest-flake8
commands =
black --diff py3status/
black --diff setup.py fastentrypoints.py
black --diff tests/
pytest --flake8
[pytest]
# see .flake8 file in the black project:
# https://github.com/ambv/black/blob/master/.flake8
flake8-ignore =
C901
E
W503
py3status/modules/*.py W605 W504
flake8-select = F
filterwarnings =
# For Python 2 flake8
ignore:.*You passed a bytestring as `filenames`:DeprecationWarning:flake8.options.config
# For Python 3.7 flake8
ignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated:DeprecationWarning:
flake8-max-complexity = 18
flake8-max-line-length = 88