-
Notifications
You must be signed in to change notification settings - Fork 2
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: Adjust find_rej_files()
with argument for finding hidden .rej files
#4
Conversation
find_rej_files
to also return hidden .rej files.find_rej_files()
to also return hidden .rej files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for proposing this change!
It's a good suggestion, but could we add a flag to typer to optionally extend with the hidden files? The flag can be true by default to show hidden files, ex. --show-hidden
?
find_rej_files()
to also return hidden .rej files.find_rej_files()
with argument for finding hidden .rej files
@MarkusSagen good idea - done! |
…w no-hidden flag without defaults
Great change! Merging |
@MarkusSagen Would you mind making a new release to pypi with these changes also? Latest version on pypi is 0.0.3 (https://pypi.org/project/rejx/#history) |
@MarkusSagen sorry to ping you again.. would be great if you can make a pypi release |
Sorry! Been a bit busy and had vacation |
@timvink @StephanLoor Included now in the |
Thanks! |
We currently aren't checking for hidden .rej files (i.e. filenames starting with
.
). This functionality is desirable, as the config of e.g. pre-commit hooks and cruft are maintained in hidden files by default. This PR adds this functionality.