aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
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