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 exclude-files and exclude-lines args to scan #18

Merged
merged 3 commits into from
Feb 13, 2019

Conversation

KevinHock
Copy link
Collaborator

🎉 Add exclude-files and exclude-lines args to scan

This assumes Yelp/detect-secrets#127 is merged, so I suppose I have a bump commit still todo

@KevinHock KevinHock changed the title 🎉 Add exclude-files and exclude-lines args to scan Add exclude-files and exclude-lines args to scan Feb 8, 2019
@@ -78,11 +78,14 @@ def apply_default_plugin_options_to_repos(args):
This applies default values to the config file, if appropriate.
"""
for tracked_repo in args.repo:
# Issue 17: Not touching exclude_regex in repo metadata
# Just ignoring it for now and using the exclusion CLI args given when calling `scan`
# (This can be ignored because this function is only called by `add`)
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a TODO for grep-ability?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

++ 🎓

@KevinHock KevinHock merged commit 44757d1 into master Feb 13, 2019
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