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

ci: Adds pygrep-hooks and fixes errors #1014

Merged
merged 2 commits into from
Nov 19, 2024
Merged

ci: Adds pygrep-hooks and fixes errors #1014

merged 2 commits into from
Nov 19, 2024

Conversation

ns-rse
Copy link
Collaborator

@ns-rse ns-rse commented Nov 19, 2024

Closes #1005

As per PC170: Uses PyGrep hooks (only needed if
rST present) adds pygrep-hooks to .pre-commit-config.yaml.

Opted to enable more than just the rst- hooks.

NB This is a stacked commit and should be merged after #1013 from which it was branched.


Before submitting a Pull Request please check the following.

  • Existing tests pass.
  • Documentation has been updated and builds. Remember to update configuration.md, usage.md, and relevant processing sections under advanced.md.
  • Pre-commit checks pass.
  • New functions/methods have typehints and docstrings.
  • New functions/methods have tests which check the intended behaviour is correct.

Optional

topostats/default_config.yaml

N/A

Closes #1005

As per [PC170](https://learn.scientific-python.org/development/guides/style#PC170): Uses PyGrep hooks (only needed if
rST present) adds [pygrep-hooks](https://github.com/pre-commit/pygrep-hooks) to `.pre-commit-config.yaml`.

Opted to enable more than just the `rst-` hooks.

**NB** This is a stacked commit and should be merged after #1013 from which it was branched.
@ns-rse ns-rse merged commit b3fd380 into main Nov 19, 2024
10 of 11 checks passed
@ns-rse ns-rse deleted the ns-rse/1005-pygrep branch November 19, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant