summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <tom@vanderlee.io>2022-02-12 11:33:52 +0100
committerGravatar Tom van der Lee <tom@vanderlee.io>2022-02-12 11:33:52 +0100
commit871a85d9343cf49646d13dc455c062efadcb959a (patch)
tree7d36b14b237719901d71d58c88f74b87b875ee61 /.pre-commit-config.yaml
parent7c48533571e9f9d3731a59433a56cc8d6e008123 (diff)
downloadclient-1.3.0.tar.gz
client-1.3.0.tar.bz2
client-1.3.0.zip
Beatified codev1.3.0
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