Apply those rules that make sense:
https://learn.scientific-python.org/development/guides/repo-review/?repo=jaraco%2Fskeleton&branch=main
Suggestions:
GH102: Auto-cancel on repeated PRs
At least one workflow should auto-cancel.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
PC100: Has pre-commit-hooks
Must have https://github.com/pre-commit/pre-commit-hooks repo in .pre-commit-config.yaml
PC901: Custom pre-commit CI message
Should have something like this in .pre-commit-config.yaml:
ci:
autoupdate_commit_msg: 'chore: update pre-commit hooks'
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
]
Apply those rules that make sense:
https://learn.scientific-python.org/development/guides/repo-review/?repo=jaraco%2Fskeleton&branch=main
Suggestions:
GH102: Auto-cancel on repeated PRsAt least one workflow should auto-cancel.
PC100: Has pre-commit-hooks
Must have
https://github.com/pre-commit/pre-commit-hooksrepo in.pre-commit-config.yamlPC901: Custom pre-commit CI message
Should have something like this in .pre-commit-config.yaml:
RF101: Bugbear must be selected
Must select the flake8-bugbear B checks. Recommended:
RF102: isort must be selected
Must select the isort I checks. Recommended:
RF103: pyupgrade must be selected
Must select the pyupgrade UP checks. Recommended: