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 git pre-commit hooks #214

Merged
merged 1 commit into from
Apr 16, 2022
Merged

Conversation

eriknw
Copy link
Member

@eriknw eriknw commented Apr 16, 2022

Fixes #169.

@jim22k @ParticularMiner to use, first run

conda install -c conda-forge pre-commit
pre-commit install

To initiate a run:

pre-commit run --all-files

As the name "pre-commit hook" implies, these will also run automatically upon git commit command. See https://pre-commit.com/ for more detail.

This PR is a first attempt. We can modify hooks as desired.

Also, I removed the Black badge from the readme. I don't think it's special enough to call out anymore (we use lots of tools after all), and it has sufficient mindshare that we don't need to proselytize for it.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 2175355044

  • 43 of 43 (100.0%) changed or added relevant lines in 7 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.005%) to 99.679%

Totals Coverage Status
Change from base Build 2171171203: 0.005%
Covered Lines: 15155
Relevant Lines: 15185

💛 - Coveralls

@eriknw eriknw merged commit 61b939d into python-graphblas:main Apr 16, 2022
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.

ENH: Add git pre-commit hooks for style checks
2 participants