-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (33 loc) · 897 Bytes
/
.pre-commit-config.yaml
File metadata and controls
38 lines (33 loc) · 897 Bytes
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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.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.10.1
hooks:
- name: sort python imports
id: isort
- repo: https://github.com/psf/black
rev: 22.6.0
hooks:
- name: re-format with black
id: black
language_version: python3
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
hooks:
- name: check syntax with flake8
id: flake8
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.0.0
hooks:
- name: format setup.cfg
id: setup-cfg-fmt
args: [--include-version-classifiers]