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 --no-git-check option to skip confirmation dialog for scan-folder #348

Merged
merged 4 commits into from Jan 4, 2023

Conversation

dalibor
Copy link
Contributor

@dalibor dalibor commented Apr 7, 2022

To help us get this pull request reviewed and merged quickly, please be sure to include the following items:

  • Tests (if applicable)
  • Documentation (if applicable)
  • Changelog entry
  • A full explanation here in the PR description of the work done

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Tests
  • Other

Backward Compatibility

Is this change backward compatible with the most recently released version? Does it introduce changes which might change the user experience in any way? Does it alter the API in any way?

  • Yes (backward compatible)
  • No (breaking changes)

Issue Linking

What's new?

Add --no-git-check option to skip confirmation dialog when using scan-folder command. Useful when piping into jq to find the offenses in the current version of the files in git repo.

is_flag=True,
default=True,
show_default=True,
help="Check if folder is a git repo and show confirmation dialog",
Copy link
Contributor

Choose a reason for hiding this comment

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

Since we're defaulting to True, do you think it makes more sense to change this help text to talking about disabling the check?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was following the pattern for the other option, but makes sense to change it - pushing a fix shortly.

@rbailey-godaddy rbailey-godaddy merged commit 4a6ffea into godaddy:main Jan 4, 2023
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.

None yet

3 participants