about summary refs log tree commit diff homepage
path: root/tox.ini
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2020-09-19 11:12:54 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2020-09-19 11:12:54 +0700
commit12b798ac0058fefeb315f98f5385d96ccb322faa (patch)
treea83509c7c257aed00e8c8ef5c760037e4d4d9273 /tox.ini
parentd97e1a1294ba3bc542b0611b39f86b218de935b0 (diff)
downloadbrutalmaze-12b798ac0058fefeb315f98f5385d96ccb322faa.tar.gz
Employ linters
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