aboutsummaryrefslogtreecommitdiffstats
path: root/python/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'python/.pre-commit-config.yaml')
-rw-r--r--python/.pre-commit-config.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/.pre-commit-config.yaml b/python/.pre-commit-config.yaml
new file mode 100644
index 00000000..b268b628
--- /dev/null
+++ b/python/.pre-commit-config.yaml
@@ -0,0 +1,6 @@
+repos:
+- repo: https://github.com/ambv/black
+ rev: stable
+ hooks:
+ - id: black
+ language_version: python3.7