forked from ultrabug/py3status
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
45 lines (40 loc) · 779 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
[tox]
envlist = py36, py37, py38, py39, mypy
skip_missing_interpreters = True
[testenv]
skip_install = True
deps =
pytest
pytest-flake8
commands =
pytest --flake8
[testenv:py36]
skip_install = True
deps =
black==19.10b0
pytest
pytest-flake8
commands =
black --diff --check py3status/
black --diff --check setup.py fastentrypoints.py
black --diff --check tests/
pytest --flake8
[pytest]
# see .flake8 file in the black project:
# https://github.com/ambv/black/blob/master/.flake8
flake8-ignore =
C901
E203
E266
E501
W503
py3status/modules/*.py W605 W504
flake8-select = F
flake8-max-complexity = 18
flake8-max-line-length = 88
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38, mypy
3.9: py39