summary refs log tree commit diff homepage
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini21
1 files changed, 21 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..17f4d81
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,21 @@
+[tox]
+envlist = py
+minversion = 3.3
+isolated_build = True
+
+[testenv]
+deps =
+    flake8-builtins
+    isort
+commands =
+    flake8
+    isort . --check --diff
+
+[flake8]
+hang-closing = True
+ignore = E129, E226, E228, E701, E704, W503
+exclude = .git,__pycache__,.tox,__init__.py
+
+[isort]
+balanced_wrapping = True
+combine_as_imports = True