summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2020-07-09 23:25:00 -0700
committerJarrod Millman <jarrod.millman@gmail.com>2020-07-10 09:45:35 -0700
commit8e7892ef546b07c9b1ed0298f8f2aceb1436e50d (patch)
treeedc0f4ee5b0e488068eaecb2f12518008ae00347 /.pre-commit-config.yaml
parentb22d6b36ce0545995c99d233546e8a1fe7e27fc5 (diff)
downloadnetworkx-8e7892ef546b07c9b1ed0298f8f2aceb1436e50d.tar.gz
Add pre-commit hook to for psf/black
Diffstat (limited to '.pre-commit-config.yaml')
-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 00000000..059fe70f
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,8 @@
+# Install pre-commit hooks via
+# pre-commit install
+
+repos:
+- repo: https://github.com/ambv/black
+ rev: stable
+ hooks:
+ - id: black