aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-05-29 18:18:04 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-05-31 14:03:02 -0400
commitfb7f0437323ba836c68947d38f3604c3336e3a9b (patch)
tree756512a2b68f1c7270f028b487228fd0e3f13778 /.pre-commit-config.yaml
parentdb498f217e03d772e0c0c37a526226d48ed790e2 (diff)
downloadexternal_python_mako-fb7f0437323ba836c68947d38f3604c3336e3a9b.tar.gz
external_python_mako-fb7f0437323ba836c68947d38f3604c3336e3a9b.tar.bz2
external_python_mako-fb7f0437323ba836c68947d38f3604c3336e3a9b.zip
Use tox / zimports
Change-Id: Ia047c7052a6d242c2cf1c7a83981f1e38ea4d928
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..f9b217e
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,15 @@
+# See https://pre-commit.com for more information
+# See https://pre-commit.com/hooks.html for more hooks
+repos:
+- repo: https://github.com/python/black/
+ rev: 19.3b0
+ hooks:
+ - id: black
+ args: [-l 79]
+
+- repo: https://github.com/sqlalchemyorg/zimports/
+ rev: master
+ hooks:
+ - id: zimports
+
+