forked from donBarbos/telegram-bot-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
57 lines (50 loc) · 1.18 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
49
50
51
52
53
54
55
56
57
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-merge-conflict
- id: check-byte-order-marker
- id: debug-statements
- id: detect-private-key
- id: check-ast
- repo: local
hooks:
- id: black
name: black
entry: black
language: system
types: [python]
args: [--config=pyproject.toml]
- id: isort
name: isort
entry: isort
language: system
types: [python]
args: [--settings-path=pyproject.toml]
- id: autoflake
name: autoflake
entry: autoflake
language: system
types: [python]
args: [--in-place, --remove-all-unused-imports, --remove-duplicate-keys]
- id: flake8
name: flake8
entry: flake8
language: system
types: [python]
args: [--config=.flake8]
- id: pyupgrade
name: pyupgrade
entry: pyupgrade
language: system
types: [python]
args: [--py310-plus]
- id: yesqa
name: yesqa
entry: yesqa
language: system
types: [python]