Enable more lint rules #10
1 changed files with 8 additions and 0 deletions
Complete the ruff-only notes in the flake8 section
commit
8d843895b7
|
|
@ -278,12 +278,18 @@ select = [
|
|||
# ========================================
|
||||
# flake8-blind-except => No blind `except Exception:`
|
||||
# "BLE",
|
||||
# eradicate => No commented-out code
|
||||
# "ERA",
|
||||
# flynt => F-strings instead of `str.join()`
|
||||
# "FLY",
|
||||
# refurb => Modern idioms
|
||||
# "FURB",
|
||||
# flake8-logging-format => Lazy `logging` messages
|
||||
# "G",
|
||||
# isort => Imports are sorted
|
||||
# "I",
|
||||
# flake8-import-conventions => Unified import aliases
|
||||
# "ICN",
|
||||
# NumPy-specific rules => Modern `numpy` APIs
|
||||
# "NPY",
|
||||
# Perflint => No performance anti-patterns
|
||||
|
|
@ -298,6 +304,8 @@ select = [
|
|||
# "RUF",
|
||||
# flake8-self => No access to private members from outside
|
||||
# "SLF",
|
||||
# flake8-print => No `print()`
|
||||
# "T20",
|
||||
# pyupgrade => Modern syntax for the targeted Python version
|
||||
# "UP",
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue