1[tox] 2envlist = py36, py37, py38, py39, mypy 3skip_missing_interpreters = True 4 5[testenv] 6skip_install = True 7deps = 8 -rrequirements/project.txt 9 -rrequirements/tests.txt 10commands = 11 {envbindir}/black --diff --check py3status/ 12 {envbindir}/black --diff --check setup.py fastentrypoints.py 13 {envbindir}/black --diff --check tests/ 14 {envbindir}/pytest --flake8 --exitfirst --capture=no 15 16[pytest] 17# see .flake8 file in the black project: 18# https://github.com/ambv/black/blob/master/.flake8 19flake8-ignore = 20 C901 21 E203 22 E266 23 E501 24 W503 25 py3status/modules/*.py W605 W504 26flake8-max-complexity = 18 27flake8-max-line-length = 88 28 29[gh-actions] 30python = 31 3.6: py36 32 3.7: py37 33 3.8: py38, mypy 34 3.9: py39 35 36