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 hooks installation to Contribute page #5403

Merged
merged 1 commit into from
Apr 7, 2023

Conversation

tpdorsey
Copy link
Contributor

@tpdorsey tpdorsey commented Apr 6, 2023

Adds a step to install pre-commit hooks to setup instructions for contributors.

Change Summary

Related issue number

Checklist

  • Unit tests for the changes exist
  • Tests pass on CI and coverage remains at 100%
  • Documentation reflects the changes where applicable
  • changes/<pull request or issue id>-<github username>.md file added describing change
    (see changes/README.md for details)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@@ -49,21 +49,25 @@ source env/bin/activate
# 3. Install pydantic, dependencies, test dependencies and doc dependencies
make install

# 4. Checkout a new branch and make your changes
# 4. Install pre-commit hooks
pip install pre-commit
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like I said I think pipx is good for this sort of thing. Maybe add that as a suggestion?

@samuelcolvin samuelcolvin merged commit 29f56e7 into main Apr 7, 2023
@samuelcolvin samuelcolvin deleted the contribute-precommit branch April 7, 2023 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants