]>
Commit | Line | Data |
---|---|---|
907c8574 | 1 | [tox] |
d7999f4d | 2 | envlist = lint, py3{7,8,9} |
c58a7ade | 3 | skip_missing_interpreters = true |
907c8574 FCSS |
4 | |
5 | [testenv] | |
6 | deps = | |
c58a7ade MF |
7 | -r requirements.txt |
8 | -r dev-requirements.txt | |
9 | ; download the latest pip, setuptools and wheel when creating the venv | |
10 | download = true | |
907c8574 | 11 | commands = |
6d0acf99 | 12 | pytest tests/ |
907c8574 | 13 | |
c58a7ade MF |
14 | [testenv:lint] |
15 | skip_install = true | |
907c8574 | 16 | deps = |
c58a7ade MF |
17 | -r dev-requirements.txt |
18 | commands = | |
6d0acf99 MF |
19 | black --check --diff Lib/gflanguages --exclude .*pb2.py |
20 | isort --check-only Lib/gflanguages --skip Lib/gflanguages/languages_public_pb2.py | |
907c8574 | 21 | |
c58a7ade MF |
22 | [isort] |
23 | profile = black |