summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-11-09 22:17:36 -0500
committerJason R. Coombs <jaraco@jaraco.com>2018-11-10 08:00:28 -0500
commitd0f07a4e7ad465b0935bf85da94b12b9b8cc2e77 (patch)
treeca04ea5b749dff924bbba9d8bbe74ee801d39d68 /.pre-commit-config.yaml
parent166b43e1429fa1b9b467da82109151222719cc20 (diff)
downloadpytest-runner-d0f07a4e7ad465b0935bf85da94b12b9b8cc2e77.tar.gz
Add black config, pre-commit including black, check code with black.
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..922d942
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,5 @@
+repos:
+- repo: https://github.com/ambv/black
+ rev: 18.9b0
+ hooks:
+ - id: black