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

Add pre-commit configuration file #31

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mdeweerd
Copy link
Contributor

This adds a pre-commit configuration file.

Enable by:

  1. installing pre-commit (pip install pre-commit).
  2. Runpre-commit install inside the clone (to run on each commit).

Run on all files with: pre-commit run -a.

Example to run only specific step;:

  • `pre-commit run shellcheck -a"

For shellcheck I've ignore several warnings to limit to only a few that if disable could hide important issues.

@mdeweerd mdeweerd force-pushed the add-precommit branch 2 times, most recently from f7ef621 to 22d3247 Compare December 19, 2023 21:53
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.

1 participant