forked from spacemanspiff2007/HABApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
52 lines (42 loc) · 1.17 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-ast
- id: check-builtin-literals
- id: check-docstring-first
- id: check-merge-conflict
# - id: check-toml
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
exclude: ^docs/(?:images|gifs)
- id: trailing-whitespace
# - repo: https://github.com/pycqa/isort
# rev: 5.11.4
# hooks:
# - id: isort
# name: isort (python)
- repo: https://github.com/PyCQA/flake8
rev: '6.1.0'
hooks:
- id: flake8
# additional_dependencies:
# - flake8-bugbear==23.1.14
# - flake8-comprehensions==3.10.1
# - flake8-pytest-style==1.6
# - flake8-unused-arguments==0.0.12
# - flake8-noqa==1.3
# - pep8-naming==0.13.3
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
- id: rst-backticks
# - repo: https://github.com/igorshubovych/markdownlint-cli
# rev: v0.33.0
# hooks:
# - id: markdownlint
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes