1234567891011121314151617181920212223 |
- [tox]
- envlist = lint, py3{7,8,9}
- skip_missing_interpreters = true
- [testenv]
- deps =
- -r requirements.txt
- -r dev-requirements.txt
- ; download the latest pip, setuptools and wheel when creating the venv
- download = true
- commands =
- pytest tests/
- [testenv:lint]
- skip_install = true
- deps =
- -r dev-requirements.txt
- commands =
- black --check --diff Lib/gflanguages --exclude .*pb2.py
- isort --check-only Lib/gflanguages --skip Lib/gflanguages/languages_public_pb2.py
- [isort]
- profile = black
|