-
- what are hooks
- how to manage
- my standard hooks
- configure flake8 and/or yapf (need to clean up first...)
- [ ] yapf version in conda yaml
-
To make it easy to use the utility via [pre-commit](https://pre-commit.com) you should add a configuration file with hooks
-
Can we setup pre-commit hooks for the repository to automatically clean up the code and uphold our standards?
-
The pre-commit hooks added in 283eb40 rely on `make` being available, which is mostly not the case on windows.
However, the makefile simply calls ruff which can be done in pre-commit directly: https:…
-
Oops! I became lazy to remove my notebook outputs before committing, thinking that [GHA would take care of it](https://github.com/spinal-cord-7t/coil-qc-code/actions/runs/11614605882/job/32343166647),…
-
`scripts/setup-hooks.ps1` file:
```
#!/usr/bin/env pwsh
# Usage:
# .\scripts\setup-hooks.ps1 (execute script)
# Function to enable a specific Git hook by copying its sample file
function E…
-
- would only require to grant access to the repository there: https://pre-commit.ci/
- would replace the following workflows:
- update hooks: https://github.com/nilearn/nilearn/blob/main/.github/w…
-
-
### What type of enhancement is this?
Other
### What does the enhancement do?
Edit Git Hooks to perform code formatting when `git commit`
### Implementation challenges
_No response_
-
**Summary**
I would like to propose adding support for pre-commit hooks to the project. Implementing this feature would help maintain code quality and prevent common issues, such as trimming trailing…