forked from interactions-py/interactions.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
59 lines (59 loc) · 1.53 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
58
59
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: requirements-txt-fixer
name: Requirements
types: [file]
exclude_types: ['image']
- id: debug-statements
name: Debugging
language: python
types: [file, python]
exclude_types: ['image']
- id: trailing-whitespace
name: Trailing Whitespace
language: python
types: [file]
exclude_types: ['image']
- id: end-of-file-fixer
name: EOF Newlines
language: python
types: [file]
exclude_types: ['image']
- id: check-yaml
name: YAML Structure
language: python
- id: check-toml
name: TOML Structure
- id: check-merge-conflict
name: Merge Conflicts
- repo: https://github.com/psf/black
rev: 22.1.0
hooks:
- id: black
name: Black Formatting
language: python
types: [file, python]
args: [--line-length=100]
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
name: flake8 Formatting
language: python
types: [file, python]
args: [--max-line-length=100, --ignore=E203 E301 E302 E501 E402 E704 W503 W504]
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
name: isort Formatting
language: python
types: [file, python]
ci:
autoupdate_branch: "unstable"
autofix_prs: true
autoupdate_commit_msg: "ci: weekly check."
autoupdate_schedule: weekly
autofix_commit_msg: "ci: correct from checks."