[tox] min_version = 4.0 envlist = pep8, py38, py39, py10, py11, py12 skip_missing_interpreters = True [testenv] allowlist_externals = bash commands = pytest bash tests/test.sh genpac -v deps = pytest pytest-cov pytest-randomly [testenv:pep8] basepython = python commands = flake8 deps = flake8 [pytest] testpaths = tests python_files = test_*.py addopts=-s -v --cov=genpac --cov-report=term --cov-report=html # -p no:randomly [flake8] # E402: module level import not at top of file # F401: imported but unused # F841: variable assigned but never used ignore = E501 exclude = genpac/publicsuffixlist, genpac/pysocks, tests, tmp, .tox, .git, __pycache__, build, dist, *.pyc, *.egg-info, .cache, .eggs # max-complexity = 10