-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Normalize path before checking if path should be ignored #7080
Normalize path before checking if path should be ignored #7080
Conversation
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 π Could you add a changelog for 2.14.4, please ?
Yes working on that :-) |
Co-authored-by: Pierre Sassoulas <[email protected]>
for more information, see https://pre-commit.ci
Thank you @Pierre-Sassoulas for your review! |
Pull Request Test Coverage Report for Build 2578259595
π - Coveralls |
π€ According to the primer, this change has no effect on the checked open source code. π€π This comment was generated for commit c744a53 |
β¦7080) Co-authored-by: Pierre Sassoulas <[email protected]>
Co-authored-by: Pierre Sassoulas <[email protected]>
Type of Changes
Description
Path should be normalized before checking if it should be ignored. E.g. paths
Are the same path. All paths are normalized before checking so creating ignore regex is more straightforward.
See https://docs.python.org/3/library/os.path.html#os.path.normpath for details.
Closes #6964