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

Changes for Line Exclude regex - Keyword detector #132

Merged
merged 5 commits into from
Feb 21, 2019

Conversation

hpandeycodeit
Copy link
Contributor

Issue #131

@KevinHock KevinHock self-requested a review February 20, 2019 23:07
Copy link
Collaborator

@KevinHock KevinHock left a comment

Choose a reason for hiding this comment

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

Looks great so far 👍

detect_secrets/core/usage.py Outdated Show resolved Hide resolved
detect_secrets/core/usage.py Outdated Show resolved Hide resolved
detect_secrets/plugins/keyword.py Outdated Show resolved Hide resolved
detect_secrets/plugins/keyword.py Outdated Show resolved Hide resolved
identifier,
line_num,
)
output[secret] = secret
Copy link
Collaborator

@KevinHock KevinHock Feb 21, 2019

Choose a reason for hiding this comment

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

output[secret] = secret was on the right indentation level, my mistake. (All other lines are indented well 👍 )

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay. Reverted it.

@KevinHock
Copy link
Collaborator

https://travis-ci.org/Yelp/detect-secrets/jobs/496360278 shows that a pre-commit hook is failing, I think you can do
pip install pre-commit
pre-commit install
pre-commit run —all-files

To fix the file

@KevinHock
Copy link
Collaborator

Awesome, I’ll merge in the morning. Thank you 👍

@hpandeycodeit
Copy link
Contributor Author

Thanks @KevinHock! :)

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.

2 participants