Skip to content

DOC add command to run pre-commit checks to pull request template #38694

Closed
@MarcoGorelli

Description

@MarcoGorelli

I think we could add

passes `pre-commit run --from-ref=upstream/master --to-ref=HEAD --all-files`

to the pull request template (maybe it could even replace the current black and flake8 ones).

The file to change would be

.github/PULL_REQUEST_TEMPLATE.md

Some of the contributing guide may also need updating if it mentions the flake8 --diff command.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions