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
Remove six-related code and __future__ imports #4121
Conversation
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
Amazing work.
I’ve left a lot of feedback, but mostly aesthetic. Feel free to ignore and mark as resolve those aesthetic changes not affecting lines that you actually changed.
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
@Gallaecio I agree with the proposed sorting suggestions, but I believe the PR is already large enough as it is (that said, I probably already sorted some of them). If you don't mind, I'd prefer to leave that import cleanup for separate PRs. What do you think? |
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
Added two pickle-related checks to the bandit skip list (B301, B403). The problem appeared with the change from |
Pickle is always a potential danger if it handles uncontrolled input data, I believe that’s why bandit checks it. If we are sure that a given pickle usage is safe, I think we can just mark that specific usage as such. |
Based on #4115 and #4114, supersedes #4003