diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-12-09 20:41:37 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-12-09 20:41:37 +0100 |
commit | f919c404ba11886395c4669734cf11a68af4d904 (patch) | |
tree | 7cd3c7ae9c4051d5e7d946684a89c3e2d775559d /tox.ini | |
parent | 2fae8e0d39f436976d90cfb94ac31a1a4427771d (diff) | |
parent | 36e28240e810e162ebb46bede1e6eab4f5fe4a3a (diff) | |
download | fietsboek-f919c404ba11886395c4669734cf11a68af4d904.tar.gz fietsboek-f919c404ba11886395c4669734cf11a68af4d904.tar.bz2 fietsboek-f919c404ba11886395c4669734cf11a68af4d904.zip |
Merge branch 'type-hints'
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -1,11 +1,12 @@ [flake8] max-line-length = 100 exclude = fietsboek/alembic +extend-ignore = E203 per-file-ignores = fietsboek/models/__init__.py:F401 [tox] -envlist = python,pylint,pylint-tests,flake8 +envlist = python,pylint,pylint-tests,flake8,mypy,black isolated_build = true [testenv] @@ -44,3 +45,21 @@ allowlist_externals = make changedir={toxinidir}{/}doc commands = make html + +[testenv:mypy] +deps = + mypy + types-Markdown + types-bleach + types-babel + types-redis + types-requests +usedevelop = true +commands = + mypy fietsboek + +[testenv:black] +deps = black +usedevelop = true +commands = + black --check fietsboek |