summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..c5c9a1e
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,28 @@
1repos:
2 - repo: https://github.com/pre-commit/pre-commit-hooks
3 rev: v2.3.0
4 hooks:
5 - id: check-yaml
6 - id: end-of-file-fixer
7 - id: trailing-whitespace
8 - repo: https://github.com/psf/black
9 rev: 21.12b0
10 hooks:
11 - id: black
12 types_or:
13 - python
14 - repo: https://github.com/asottile/reorder_python_imports
15 rev: v2.7.1
16 hooks:
17 - id: reorder-python-imports
18 types_or:
19 - python
20 - repo: https://github.com/pre-commit/mirrors-prettier
21 rev: 'v2.5.1'
22 hooks:
23 - id: prettier
24 types_or:
25 - ts
26 - tsx
27 - css
28 - scss