]> git.0d.be Git - django-panik-matos.git/commitdiff
misc: add black files/notes
authorFrédéric Péters <fpeters@0d.be>
Sun, 31 Jan 2021 17:21:46 +0000 (18:21 +0100)
committerFrédéric Péters <fpeters@0d.be>
Sun, 31 Jan 2021 17:21:46 +0000 (18:21 +0100)
.git-blame-ignore-revs [new file with mode: 0644]
.pre-commit-config.yaml [new file with mode: 0644]

diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
new file mode 100644 (file)
index 0000000..16be5cd
--- /dev/null
@@ -0,0 +1,2 @@
+# trivial: apply black
+f11d41042aa73443c60ea76d2076a7814c650de0
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644 (file)
index 0000000..a14705c
--- /dev/null
@@ -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']