Skip to content

Commit 30cae49

Browse files
committed
fix layout, add ignore codes
1 parent e10dbff commit 30cae49

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.4.0 # Use the ref you want to point at
3+
rev: v4.4.0
44
hooks:
55
- id: trailing-whitespace
66
- id: check-added-large-files
@@ -11,9 +11,10 @@ repos:
1111
rev: v0.0.285
1212
hooks:
1313
- id: ruff
14-
args: [check, ./xpra, --ignore, E902]
15-
- repo: https://github.com/PyCQA/flake8
14+
args: [check, ./xpra, --ignore, E902, --ignore, E501]
15+
- repo: https://github.com/PyCQA/flake8
1616
rev: 6.1.0
1717
hooks:
1818
- id: flake8
19+
args: ["--max-line-length=200", "--ignore=E203,E231,E225,E226,E252,E221,E741,E262,E265,E501"]
1920

0 commit comments

Comments
 (0)