-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
STYLE add vulture hook #45173
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
STYLE add vulture hook #45173
Conversation
I don't know why I added a return there :) Based on looking at the test case, I would assume that the return should be removed. |
If I remove it I get
So perhaps this |
Seems so, will look into it. pytest -k test_encoding_errors[csv-None] pandas/tests/io/test_common.py: segfault |
@MarcoGorelli Thank you for catching my mistake! This is now fixed on master. |
xref #27396
The
return
inpandas/tests/io/test_common.py
was added in #39777 - @twoertwein are the two lines which come after it meant to be skipped?The
return; yield
comes from #12032 - the proposed change achieves the same thing (taken from https://stackoverflow.com/a/13243870/4451315)todo: use vulture API jendrikseipp/vulture#269 (comment)