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

feat(pre-commit): adds senstive data check like api keys and linting … #4030

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BLANKatGITHUB
Copy link
Contributor

This will check for sensitive data and linting problems before commit .
fix #4029

hooks:
- id: gitleaks

- repo: https://github.com/jumanjihouse/pre-commit-hooks
Copy link
Collaborator

Choose a reason for hiding this comment

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

we usually do not have shell scripts in our PRs. Is it really relevant to us?

rev: v1.3.5
hooks:
- id: cpplint
- repo: https://github.com/pylint-dev/pylint
Copy link
Collaborator

Choose a reason for hiding this comment

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

we use black for py linting.

- repo: https://github.com/pocc/pre-commit-hooks
rev: v1.3.5
hooks:
- id: cpplint
Copy link
Collaborator

Choose a reason for hiding this comment

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

these checks are running locally, to my knowledge, not on github. Have you tried running them on our codebase?

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.

Add Sensitive Data Check And Linting Check
2 participants