Skip to content

Conversation

@sfmig
Copy link
Contributor

@sfmig sfmig commented Nov 5, 2024

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?
To update the versions in the pre-commit file inside the package.

What does this PR do?
It updates the precommit config in the package. Specifically:

References

PR #127

It would be nice to automate this as mentioned in #95 - ARC python cookiecutter seems to be using Renovate for this (see example here). Will add this info to the issue.

@sfmig sfmig marked this pull request as ready for review November 5, 2024 11:49
@sfmig sfmig requested a review from a team November 5, 2024 12:03
args: [--fix=lf]
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/charliermarsh/ruff-pre-commit
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've forgotten to do this for a while!

Copy link
Member

@adamltyson adamltyson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sfmig!

@adamltyson adamltyson merged commit 6968a6b into main Nov 5, 2024
13 checks passed
@adamltyson adamltyson deleted the smg/update-template-precommit-versions branch November 5, 2024 12:12
ablot pushed a commit to znamlab/python-cookiecutter that referenced this pull request Mar 10, 2025
* Update ruff precommit following PR neuroinformatics-unit#127

* Update pre-commit hooks version to match outer precommit file

* Update mypy and check-manifest in template precommit file (they dont get update by precommit bot)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants