0
0
mirror of https://github.com/python/cpython.git synced 2024-11-21 21:09:37 +01:00
cpython/Lib/test/.ruff.toml

26 lines
740 B
TOML
Raw Permalink Normal View History

fix = true
extend-exclude = [
# Excluded (run with the other AC files in its own separate ruff job in pre-commit)
"test_clinic.py",
# 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",
# TODO Fix: F811 Redefinition of unused name
"test_buffer.py",
"test_dataclasses/__init__.py",
"test_descr.py",
"test_enum.py",
"test_functools.py",
"test_grammar.py",
"test_import/__init__.py",
"test_pkg.py",
"test_yield_from.py",
]
2024-02-02 22:04:15 +01:00
[lint]
select = [
"F811", # Redefinition of unused variable (useful for finding test methods with the same name)
]