From: Marc Foley Date: Wed, 22 Feb 2023 16:30:26 +0000 (+0000) Subject: simplify tox X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d0acf99e6ffad246822e9811df9c85ff1e2facc;p=thirdparty%2Fgoogle%2Ffonts.git simplify tox --- diff --git a/dev-requirements.txt b/dev-requirements.txt index 3f3406bb8c..3bc644ab88 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,3 +1,5 @@ uharfbuzz youseedee -black \ No newline at end of file +black +isort +pytest \ No newline at end of file diff --git a/tox.ini b/tox.ini index 283a3834b5..604a774a8d 100644 --- a/tox.ini +++ b/tox.ini @@ -9,30 +9,15 @@ deps = ; 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