Skip to content

Apply Scientific Python repo-review suggestions #240

@DimitriPapadopoulos

Description

@DimitriPapadopoulos

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
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions