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

[feature/pre-commit] Adding pre-commit checks for local and GitHub actions #6

Merged
merged 3 commits into from
Jul 12, 2024

Conversation

jamesETsmith
Copy link
Contributor

General

Adding code checking now before the code base really starts to grow.

How to Use

Local

# From root project dir
pre-commit install # installs the checks as pre-commit hooks

GitHub Actions

These changes will run automatically on GitHub actions in the new workflow .github/workflows/pre-commit.yml. This will run the checks on all files. If this project gets use, this will be wasteful, but for now it's safe and easy to run the checks more often than we technically need.

@jamesETsmith jamesETsmith requested a review from stand-by July 11, 2024 20:33
@jamesETsmith jamesETsmith added the enhancement New feature or request label Jul 11, 2024
@jamesETsmith jamesETsmith merged commit a9c44ae into develop Jul 12, 2024
3 checks passed
@jamesETsmith jamesETsmith deleted the feature/pre-commit branch July 12, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants