aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-12-09 20:41:37 +0100
committerDaniel Schadt <kingdread@gmx.de>2022-12-09 20:41:37 +0100
commitf919c404ba11886395c4669734cf11a68af4d904 (patch)
tree7cd3c7ae9c4051d5e7d946684a89c3e2d775559d /tox.ini
parent2fae8e0d39f436976d90cfb94ac31a1a4427771d (diff)
parent36e28240e810e162ebb46bede1e6eab4f5fe4a3a (diff)
downloadfietsboek-f919c404ba11886395c4669734cf11a68af4d904.tar.gz
fietsboek-f919c404ba11886395c4669734cf11a68af4d904.tar.bz2
fietsboek-f919c404ba11886395c4669734cf11a68af4d904.zip
Merge branch 'type-hints'
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini21
1 files changed, 20 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 66e9870..88bcef6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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