forked from magmax/python-readchar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
48 lines (42 loc) · 1.09 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- name: remove trailing whitespace
id: trailing-whitespace
- name: add newline to end of files
id: end-of-file-fixer
- name: sort requirements.txt
id: requirements-txt-fixer
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- name: sort python imports
id: isort
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- name: format python files
id: black
language_version: python3
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- name: check python syntax
id: flake8
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
hooks:
- name: format Markdown files
id: mdformat
args:
- --wrap=88
- --end-of-line=keep
additional_dependencies:
- mdformat-gfm
- repo: https://github.com/adrienverge/yamllint
rev: v1.29.0
hooks:
- name: check YAML syntax + format
id: yamllint