Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate linting version updates #266

Open
10 tasks
mikealfare opened this issue Jul 19, 2024 · 0 comments
Open
10 tasks

Automate linting version updates #266

mikealfare opened this issue Jul 19, 2024 · 0 comments
Labels

Comments

@mikealfare
Copy link
Contributor

mikealfare commented Jul 19, 2024

Short description

We should automate linting dependency updates to reduce maintenance efforts. We moved all of these dependencies into .pre-commit-config.yaml, so the scripting should be pretty straight forward.

Context

You can update all of the dependencies at once in .pre-commit-config.yaml by running:

pre-commit autoupdate

Hence this workflow should look something like:

  1. Checkout the repo
  2. Create a new branch
  3. pre-commit autoupdate
  4. pre-commit run --all-files
  5. Merge into main on GitHub if successful
  6. Push new branch back up to GitHub and create a PR if not successful

Acceptance criteria

Testing

Security

There are no security concerns.

Docs

There are no end-user docs associate with this change. We could add a brief mention of this process in something like CONTRIBUTING.md.

Consequences

This will only impact development in the repos in which this is enabled, meaning this should not impact anyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant