summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2021-02-19 13:56:50 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2021-02-19 13:56:50 (GMT)
commitcb5fa09166efdd937d4dade7272f20bece6b9207 (patch)
tree8f01e321f6f6e690b09367462f19fdada3be063e
parent99efe1be0c3a051557c77650fe4bb71005580136 (diff)
downloadcombo-plugin-imio-townstreet-cb5fa09166efdd937d4dade7272f20bece6b9207.zip
combo-plugin-imio-townstreet-cb5fa09166efdd937d4dade7272f20bece6b9207.tar.gz
combo-plugin-imio-townstreet-cb5fa09166efdd937d4dade7272f20bece6b9207.tar.bz2
misc: add black/pre-commit configuration
-rw-r--r--.pre-commit-config.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..a14705c
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,8 @@
+# See https://pre-commit.com for more information
+# See https://pre-commit.com/hooks.html for more hooks
+repos:
+- repo: https://github.com/psf/black
+ rev: 20.8b1
+ hooks:
+ - id: black
+ args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']