]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
simplify tox
authorMarc Foley <m.foley.88@gmail.com>
Wed, 22 Feb 2023 16:30:26 +0000 (16:30 +0000)
committerMarc Foley <m.foley.88@gmail.com>
Wed, 22 Feb 2023 16:31:32 +0000 (16:31 +0000)
dev-requirements.txt
tox.ini

index 3f3406bb8c0da0e59190212834f10594c69e874a..3bc644ab88c06114694e5f36d4375ec2b889a92a 100644 (file)
@@ -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 283a3834b577f4ff9cf72439d90149def9dbf3ee..604a774a8d3b5319026ead096287a0af2fe2b0c4 100644 (file)
--- 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