; download the latest pip, setuptools and wheel when creating the venv
download = true
commands =
- coverage run --parallel-mode -m pytest {posargs}
+ pytest tests/
[testenv:lint]
skip_install = true
deps =
-r dev-requirements.txt
commands =
- black --check --diff Lib/gflanguages --exclude .*pb2.py Lib/gflanguages/_version.py
- isort --check-only --diff .
- flake8
-
-[testenv:coverage-report]
-skip_install = true
-commands =
- coverage combine
- coverage xml
- coverage report
- coverage html
-
-[flake8]
-select = C, E, F, W, B, B9
-ignore = E203, E266, E501, W503, B905
-max-line-length = 100
-exclude = .git, __pycache__, build, dist, .eggs, .tox, venv, venv*, .venv, .venv*
+ black --check --diff Lib/gflanguages --exclude .*pb2.py
+ isort --check-only Lib/gflanguages --skip Lib/gflanguages/languages_public_pb2.py
[isort]
profile = black
\ No newline at end of file