-
Notifications
You must be signed in to change notification settings - Fork 87
Apply Scientific Python repo-review suggestions #240
Copy link
Copy link
Closed
Description
Apply those rules that make sense:
https://learn.scientific-python.org/development/guides/repo-review/?repo=pypa%2Fdistutils&branch=main
Most if not all of these rules already appear in jaraco/skeleton#112. In the issue, I am interested in prerequisites to applying these rules, such as fixing linter issues:
RF101: Bugbear must be selected
Must select the flake8-bugbear B checks. Recommended:
[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
]RF102: isort must be selected
Must select the isort I checks. Recommended:
[tool.ruff.lint]
extend-select = [
"I", # isort
]RF103: pyupgrade must be selected
Must select the pyupgrade UP checks. Recommended:
[tool.ruff.lint]
extend-select = [
"UP", # pyupgrade
]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels