Browse Source

Add pre-commit configuration file (#3643)

master
Orinda Harrison(Mitch) 4 years ago
parent
commit
7a565ff42b
No account linked to committer's email address
1 changed files with 16 additions and 0 deletions
  1. 16
    0
      .pre-commit-config.yaml

+ 16
- 0
.pre-commit-config.yaml View File

1
+repos:
2
+-   repo: git://github.com/pre-commit/pre-commit-hooks
3
+    rev: v2.3.0
4
+    hooks:
5
+    -   id: trailing-whitespace
6
+        language_version: python3
7
+-   repo: https://gitlab.com/PyCQA/flake8
8
+    rev: 3.8.3
9
+    hooks:
10
+    -   id: flake8
11
+        language_version: python3
12
+        exclude: migrations
13
+-   repo: https://github.com/PyCQA/isort
14
+    rev: 5.7.0
15
+    hooks:
16
+    -   id: isort

Loading…
Cancel
Save