-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[pyreverse] Bugfix: strip "/" at the end of the file #8517
Conversation
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
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.
Looks pretty clean, thank you ! could you add a small test case too, please ?
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #8517 +/- ##
==========================================
- Coverage 95.91% 95.90% -0.01%
==========================================
Files 174 174
Lines 18362 18365 +3
==========================================
+ Hits 17611 17613 +2
- Misses 751 752 +1
|
This comment has been minimized.
This comment has been minimized.
Thanks for the fix! |
@DudeNr33 @Pierre-Sassoulas ok, gonna add tests and update the fix to replace all ocurrences of "/" in the string π |
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
for more information, see https://pre-commit.ci
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
β¦bugfix-output-filename
This comment has been minimized.
This comment has been minimized.
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.
Looks pretty good, I have two nitpicks
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> (cherry picked from commit 6ad17fb)
π€ According to the primer, this change has no effect on the checked open source code. π€π This comment was generated for commit 26a2884 |
Type of Changes
Description
When calling pyreverse with an output filename like that ends with a "/" character like
the program crashes.
Added bugfix to strip those characters at the end of the output filename
Closes #8504