| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Looks like the CI failed for some unrelated reasons: I will try to apply test-with-buildbots again once all others will finish. |
Sorry, something went wrong.
|
Ok, buildbots take quite a long time to work (1h+). I hope that retriggering a single failing one is not so important. Other Refleak tests pass. So, I don't want to waste extra resources 🙂 |
Sorry, something went wrong.
There was a problem hiding this comment.
I like the solution.
While it pains me to say it, please fix the formatting.
Sorry, something went wrong.
| # `_convert_` uses a module side effect that does this. See 30472 | ||
| with support.swap_item( | ||
| sys.modules, MODULE, _ModuleWrapper(sys.modules[MODULE]), | ||
| ): |
There was a problem hiding this comment.
Do not use Black formatting on enum code, please. Continuation lines should be eight space indents, and each closing ), ], and } should line up as if it were code and not syntax, with the final line (if it introduces a block) only indented the normal four spaces. In other words:
a_long_list_comprehension = [
x
for x in spam(eggs, ham)
if x not in some_previous_group
]
and
with yada(
arg1, arg2, something_else=None,
):
# body of code
Sorry, something went wrong.
| COMPLEX_A = 2j | ||
| COMPLEX_B = 3j | ||
|
|
||
| class _ModuleWrapper: |
There was a problem hiding this comment.
I like this. Please switch over the other _convert_ tests to use it, which will allow the removal of the setUp() methods in those tests.
Sorry, something went wrong.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request. |
Sorry, something went wrong.
|
Done! Code formatting is very important I (as a maintainer of ~10 different linters) can totally relate 😊 Thanks for the review! To make bot happy: I have made the requested changes; please review again |
Sorry, something went wrong.
I think you forgot a period. ;-) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
It does not happen anymore, I've tested this locally using: PYTHONDUMPREFSFILE=ex.txt ./python.exe -m test -R : -v test_enum
Refs #30472
CC @ethanfurman and @pablogsal
And CC @corona10 as my mentor.
https://bugs.python.org/issue46301