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 optional ./ci/code_checks.sh pre-commit #36956

Closed
MarcoGorelli opened this issue Oct 7, 2020 · 1 comment
Closed

Add optional ./ci/code_checks.sh pre-commit #36956

MarcoGorelli opened this issue Oct 7, 2020 · 1 comment
Labels
Code Style Code style, linting, code_checks

Comments

@MarcoGorelli
Copy link
Member

xref #36722 (comment)

Is there a way to have an option in code_checks.sh that actually runs the appropriate pre-commit hook? that way we have a single source of truth, and you can actually still run them (of course have to avoid running these on the CI from the script as well)

@MarcoGorelli MarcoGorelli added the Code Style Code style, linting, code_checks label Oct 7, 2020
@simonjayhawkins simonjayhawkins added this to the Contributions Welcome milestone Oct 7, 2020
@MarcoGorelli
Copy link
Member Author

closing as by now pre-commit run --all-files has become the single source of truth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks
Projects
None yet
Development

No branches or pull requests

2 participants