aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 9f69f7e..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,mypy
+envlist = python,pylint,pylint-tests,flake8,mypy,black
isolated_build = true
[testenv]
@@ -56,3 +57,9 @@ deps =
usedevelop = true
commands =
mypy fietsboek
+
+[testenv:black]
+deps = black
+usedevelop = true
+commands =
+ black --check fietsboek