File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1111 args : [--exit-non-zero-on-fix]
1212 files : ^Lib/test/
1313 - id : ruff
14- name : Run Ruff (lint) on Tools/build
14+ name : Run Ruff (lint) on Tools/build/
1515 args : [--exit-non-zero-on-fix, --config=Tools/build/.ruff.toml]
1616 files : ^Tools/build/
1717 - id : ruff
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ select = [
1212 " LOG" , # flake8-logging
1313 " PGH" , # pygrep-hooks
1414 " PT" , # flake8-pytest-style
15+ " PYI" , # flake8-pyi
1516 " RUF100" , # Ban unused `# noqa` comments
1617 " UP" , # pyupgrade
1718 " W" , # pycodestyle
@@ -20,6 +21,8 @@ select = [
2021ignore = [
2122 " E501" , # Line too long
2223 " F541" , # f-string without any placeholders
24+ " PYI024" , # Use `typing.NamedTuple` instead of `collections.namedtuple`
25+ " PYI025" , # Use `from collections.abc import Set as AbstractSet`
2326 " UP038" , # Use `X | Y` in `isinstance` call instead of `(X, Y)`
2427]
2528
You can’t perform that action at this time.
0 commit comments