File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,20 @@ repos:
17
17
doc/data/messages/m/missing-final-newline/bad/crlf.py
18
18
)$
19
19
- repo : https://github.com/astral-sh/ruff-pre-commit
20
- rev : " v0.4.10 "
20
+ rev : " v0.5.0 "
21
21
hooks :
22
22
- id : ruff
23
23
args : ["--fix"]
24
24
exclude : &fixtures tests(/\w*)*/functional/|tests/input|doc/data/messages|tests(/\w*)*data/
25
25
- id : ruff
26
26
name : ruff-doc
27
27
files : doc/data/messages
28
+ exclude : |
29
+ (?x)^(
30
+ doc/data/messages/d/duplicate-argument-name/bad.py|
31
+ doc/data/messages/s/syntax-error/bad.py
32
+ )$
33
+
28
34
args : ["--config", "doc/data/ruff.toml"]
29
35
- repo : https://github.com/Pierre-Sassoulas/copyright_notice_precommit
30
36
rev : 0.1.2
@@ -123,7 +129,7 @@ repos:
123
129
files : ^(doc/(.*/)*.*\.rst)
124
130
additional_dependencies : [Sphinx==5.0.1]
125
131
- repo : https://github.com/pre-commit/mirrors-mypy
126
- rev : v1.10.0
132
+ rev : v1.10.1
127
133
hooks :
128
134
- id : mypy
129
135
name : mypy
Original file line number Diff line number Diff line change 1
- ignore = []
2
1
# Reading ease is drastically reduced on read the doc after 103 chars
3
2
# (Because of horizontal scrolling)
4
3
line-length = 103
4
+
5
+ [lint ]
6
+ ignore = []
5
7
select = [" E501" , " I" ]
6
8
7
9
8
- [per-file-ignores ]
10
+ [lint . per-file-ignores ]
9
11
"doc/data/messages/r/reimported/bad.py" = [" I" ]
10
12
"doc/data/messages/w/wrong-import-order/bad.py" = [" I" ]
11
13
"doc/data/messages/u/ungrouped-imports/bad.py" = [" I" ]
You can’t perform that action at this time.
0 commit comments