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:
1717 doc/data/messages/m/missing-final-newline/bad/crlf.py
1818 )$
1919 - repo : https://github.com/astral-sh/ruff-pre-commit
20- rev : " v0.4.10 "
20+ rev : " v0.5.0 "
2121 hooks :
2222 - id : ruff
2323 args : ["--fix"]
2424 exclude : &fixtures tests(/\w*)*/functional/|tests/input|doc/data/messages|tests(/\w*)*data/
2525 - id : ruff
2626 name : ruff-doc
2727 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+
2834 args : ["--config", "doc/data/ruff.toml"]
2935 - repo : https://github.com/Pierre-Sassoulas/copyright_notice_precommit
3036 rev : 0.1.2
@@ -123,7 +129,7 @@ repos:
123129 files : ^(doc/(.*/)*.*\.rst)
124130 additional_dependencies : [Sphinx==5.0.1]
125131 - repo : https://github.com/pre-commit/mirrors-mypy
126- rev : v1.10.0
132+ rev : v1.10.1
127133 hooks :
128134 - id : mypy
129135 name : mypy
Original file line number Diff line number Diff line change 1- ignore = []
21# Reading ease is drastically reduced on read the doc after 103 chars
32# (Because of horizontal scrolling)
43line-length = 103
4+
5+ [lint ]
6+ ignore = []
57select = [" E501" , " I" ]
68
79
8- [per-file-ignores ]
10+ [lint . per-file-ignores ]
911"doc/data/messages/r/reimported/bad.py" = [" I" ]
1012"doc/data/messages/w/wrong-import-order/bad.py" = [" I" ]
1113"doc/data/messages/u/ungrouped-imports/bad.py" = [" I" ]
You can’t perform that action at this time.
0 commit comments