-
Notifications
You must be signed in to change notification settings - Fork 10
/
.pre-commit-config.yaml
48 lines (48 loc) · 1.32 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-ast
- id: check-merge-conflict
- id: check-yaml
args:
- "--allow-multiple-documents"
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: '3.0.3'
hooks:
- id: editorconfig-checker
alias: ec
- repo: https://github.com/pycqa/flake8
rev: '7.1.1'
hooks:
- id: flake8
additional_dependencies:
- flake8-awesome
- flake8-bugbear
- flake8-comprehensions
- flake8-debugger
- flake8-deprecated
- flake8-fixme
- flake8-pep3101
- flake8-polyfill
- flake8-print
- flake8-noqa
args:
- "--max-line-length=132"
- "--ignore=I001,I003,I005,I900,C408,PT013,R504,S001,S101,T101,T201"
- "--per-file-ignores=
appserver.py:E800,S108
conf.py:A001,E265,E800
debug_ttw.py:E800
dropbox.py:R503,R505,S103,S404,S602,S701
housekeeping.py:IF100
jailhost.py:E800
notifications.py:N802
*/briefkasten/testing.py:S701,T102
*/briefkasten/tests/test_*.py:S105,S106,S324,ECE001
*/briefkasten_watchdog/__init__.py:G001,G004,G200,N802"