cpython/Lib/test/.ruff.toml
Nikita Sobolev 4dd47c63a9
gh-108303: Fix and move badsyntax_pep3120.py (#109513)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-18 14:04:17 +01:00

35 lines
1 KiB
TOML

fix = true
select = [
"F811", # Redefinition of unused variable (useful for finding test methods with the same name)
]
extend-exclude = [
# Excluded (these aren't actually executed, they're just "data files")
"tokenizedata/*.py",
# Failed to lint
"encoded_modules/module_iso_8859_1.py",
"encoded_modules/module_koi8_r.py",
# Failed to parse
"support/socket_helper.py",
"test_fstring.py",
# TODO Fix: F811 Redefinition of unused name
"test__opcode.py",
"test_buffer.py",
"test_ctypes/test_arrays.py",
"test_ctypes/test_functions.py",
"test_dataclasses/__init__.py",
"test_descr.py",
"test_enum.py",
"test_functools.py",
"test_genericclass.py",
"test_grammar.py",
"test_import/__init__.py",
"test_keywordonlyarg.py",
"test_pkg.py",
"test_subclassinit.py",
"test_typing.py",
"test_unittest/testmock/testpatch.py",
"test_yield_from.py",
"time_hashlib.py",
# Pending https://github.com/python/cpython/pull/109139
"test_monitoring.py",
]