Skip to content

Commit

Permalink
Merge pull request #70 from EURODEO/add_pre_commit_help_run
Browse files Browse the repository at this point in the history
Added some extra documentation for pre-commit
  • Loading branch information
jo-asplin-met-no authored Nov 15, 2023
2 parents 1e4b6ce + fe480ab commit 9dd1546
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ E-SOH datastore PoCs

- To update the pre-commit hooks in `.pre-commit-config.yaml`, run `pre-commit autoupdate`
- To apply the pre-commit for every file in the repository, run `pre-commit run --config './.pre-commit-config.yaml' --all-files`
- To see all options to `pre-commit run`, run `pre-commit help run` (in particular, the `--files` option can be used to apply the command to selected files only).
- To commit without the pre-commit hook, run `git commit -m "Some message" --no-verify`

0 comments on commit 9dd1546

Please sign in to comment.