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

Update make test to run pre-commit hooks on the whole codebase #92

Merged
merged 2 commits into from
Feb 4, 2020

Conversation

cortinico
Copy link
Collaborator

I was discussing with @macisamuele to eventually run all the precommit hooks on make test. This will prevent developers that don't have pre-commit installed to submit code that is invalid.

@cortinico cortinico added the infra PR or Issue related to project infrastructure label Feb 4, 2020
@cortinico cortinico added this to the 1.4.0 milestone Feb 4, 2020
@cortinico cortinico self-assigned this Feb 4, 2020
Copy link
Collaborator

@macisamuele macisamuele left a comment

Choose a reason for hiding this comment

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

Makefile changes looks good to me.
Get green travis and feel free to merge.

Side note: Currently on travis we do cache directories. It might be worth caching ~/.cache/pre-commit and ~/.cache/pip to speed up python and pre-commit setups (a follow-up will be totally fine for this)

@cortinico cortinico merged commit bca4480 into master Feb 4, 2020
@cortinico cortinico deleted the run-precommit-on-travis branch February 4, 2020 22:11
cortinico added a commit that referenced this pull request Feb 4, 2020
Update make test to run pre-commit hooks on the whole codebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra PR or Issue related to project infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants