2023-09-12 17:28:20 +02:00
|
|
|
fix = true
|
|
|
|
select = [
|
|
|
|
"F811", # Redefinition of unused variable (useful for finding test methods with the same name)
|
|
|
|
]
|
|
|
|
extend-exclude = [
|
2023-10-10 09:52:39 +02:00
|
|
|
# Excluded (run with the other AC files in its own separate ruff job in pre-commit)
|
|
|
|
"test_clinic.py",
|
2023-09-18 15:04:17 +02:00
|
|
|
# Excluded (these aren't actually executed, they're just "data files")
|
|
|
|
"tokenizedata/*.py",
|
2023-09-12 17:28:20 +02:00
|
|
|
# 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",
|
|
|
|
]
|