Skip to content
Merged
Show file tree
Hide file tree
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
Move Ruff config file to relevant subdirectory to localise rules
  • Loading branch information
hugovk committed Sep 9, 2023
commit 0dcdd08c5ff076ecec45c5b4b8dbba931f8ca81a
37 changes: 0 additions & 37 deletions .ruff.toml
Comment thread
AlexWaygood marked this conversation as resolved.
Outdated

This file was deleted.

37 changes: 37 additions & 0 deletions Lib/test/.ruff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
select = [
"F811",
Comment thread
hugovk marked this conversation as resolved.
Outdated
]
extend-exclude = [
# Failed to lint
"badsyntax_pep3120.py",
"encoded_modules/module_iso_8859_1.py",
"encoded_modules/module_koi8_r.py",
# Failed to parse
"mod_generics_cache.py",
"badsyntax_3131.py",
"support/socket_helper.py",
"test_builtin.py",
"test_fstring.py",
"test_funcattrs.py",
"test_functools.py",
"test_type_aliases.py",
"test_type_params.py",
"test_typing.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_genericclass.py",
"test_grammar.py",
"test_import/__init__.py",
"test_keywordonlyarg.py",
"test_pkg.py",
"test_subclassinit.py",
"test_unittest/testmock/testpatch.py",
"test_yield_from.py",
"time_hashlib.py",
]