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

Use a pre-commit hook #91

Open
ziadhany opened this issue Jul 22, 2024 · 1 comment
Open

Use a pre-commit hook #91

ziadhany opened this issue Jul 22, 2024 · 1 comment

Comments

@ziadhany
Copy link

ziadhany commented Jul 22, 2024

When you get too excited and prematurely push or commit code, it can result in issues such as password leaks or CI failures. Most of our CI failures are trivial, often caused by forgetting to run the appropriate formatting or tests before pushing. Implementing a pre-commit hook can help prevent these common mistakes.

There are a few options we can consider.

@pombredanne
Copy link
Member

And these would also be great candidates for ScanCode.io pipelines, like we have already a virus scan https://github.com/nexB/scancode.io/blob/06548943ca94c4682b760a75329192ce4b57598a/scanpipe/pipes/clamav.py#L32

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

No branches or pull requests

2 participants