1
0
mirror of https://github.com/google/fonts.git synced 2024-12-16 20:52:41 +03:00
fonts/axisregistry/tox.ini
Nathan Williams 1f5d64a60b
Squashed 'axisregistry/' changes from 3158f45e..4e862682 (#4618)
4e862682 Merge pull request #36 from googlefonts/davelab6-tooltip-fixes
948129a4 Merge pull request #39 from googlefonts/tox
81aa9727 run black
15b9f574 update tox
80e36bf3 weight and width textprotos updated to say stroke weight
796f577b y_transparent_descender.textproto Use depth, not height
ed29279d Creating `flair.svg`

git-subtree-dir: axisregistry
git-subtree-split: 4e86268272
2022-05-09 15:37:11 -07:00

38 lines
795 B
INI

[tox]
envlist = lint, py3{7,8,9}, pypy3, coverage-report
skip_missing_interpreters = true
[testenv]
deps =
-r requirements.txt
-r test_requirements.txt
; download the latest pip, setuptools and wheel when creating the venv
download = true
commands =
coverage run --parallel-mode -m pytest {posargs}
[testenv:lint]
skip_install = true
deps =
-r test_requirements.txt
commands =
black --check --diff .
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
max-line-length = 88
exclude = .git, __pycache__, build, dist, .eggs, .tox, venv, venv*, .venv, .venv*
[isort]
profile = black