-
Notifications
You must be signed in to change notification settings - Fork 770
Open
Labels
build & infraIssues related to build & infrastructure.Issues related to build & infrastructure.contribfestgood first issueGood first issueGood first issuehelp wanted
Description
Now we are using ruff, the idea is that we add more rules to ruff linter in separate PRs since there are a lot of fixes to do (maybe create a separate issues for that) . e.g.,
select = [
"I", # isort
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"N", # pep8-naming
"C90", # mccabe
"RUF", # Ruff-specific rules
"UP", # pyupgrade
"ERA", # eradicate
"PLC", # pylint - convention
"PLE", # pylint - error
"PLW", # pylint - warning
"A", # flake8-builtins
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"C4", # flake8-comprehensions
"Q", # flake8-quotes
"G", # flake8-logging-format
"ICN", # flake8-import-conventions
"ISC", # flake8-implicit-str-concat
"PIE", # flake8-pie
"PTH", # flake8-use-pathlib
"RET", # flake8-return
"S", # flake8-bandit
"SIM", # flake8-simplify
"T10", # flake8-debugger
"T20", # flake8-print
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
]I think a good start would be to add support for:
- A (Adding
ruffruleA#4232) - B
- N
- RUF
Originally posted by @emdneto in #4223 (comment)
Metadata
Metadata
Assignees
Labels
build & infraIssues related to build & infrastructure.Issues related to build & infrastructure.contribfestgood first issueGood first issueGood first issuehelp wanted