Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Explicitly exclude files which failed to lint/parse
  • Loading branch information
hugovk committed Sep 13, 2023
commit 1a123e239528d0aac71e8c181bda3050b3c28d29
15 changes: 14 additions & 1 deletion Lib/test/.ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,20 @@ select = [
"F811", # Redefinition of unused variable (useful for finding test methods with the same name)
]
extend-exclude = [
# # TODO Fix: F811 Redefinition of unused name
# Failed to lint
"badsyntax_pep3120.py",
"encoded_modules/module_iso_8859_1.py",
"encoded_modules/module_koi8_r.py",
# Failed to parse
"test_lib2to3/data/false_encoding.py",
"test_lib2to3/data/different_encoding.py",
"test_lib2to3/data/crlf.py",
"test_lib2to3/data/bom.py",
"test_fstring.py",
"badsyntax_3131.py",
"support/socket_helper.py",
"test_lib2to3/data/py2_test_grammar.py",
# TODO Fix: F811 Redefinition of unused name
"test_buffer.py",
"test_capi/test_misc.py",
"test_capi/test_unicode.py",
Expand Down