alan-turing-institute / alan-turing-institute/python-project-template

Pre-commit Ruff has changed name

Open Beginner friendly
#78 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
33
Forks
15
PR merge metrics
No merged PRs in 30d

Description

The `ruff` checks option in pre-commit is now `ruff-check` to mirror `ruff-format`.
Changing `id: ruff` to `id: ruff-check` removes the message about "legacy alias".

https://github.com/alan-turing-institute/python-project-template/blob/be33300aa4bc25d379c8c8c57d9cfb3c06aceef6/project_template/.pre-commit-config.yaml#L26

Contributor guide

No contributing guide indexed for this repository

Research direction

Update project_template/.pre-commit-config.yaml at the Ruff hook referenced in the issue. Start by inspecting the current `id: ruff` entry, change it to `id: ruff-check`, and run the pre-commit checks to confirm the legacy-alias message is gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.