Skip to content
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 redundant Python 3.6 code #802

Merged
merged 1 commit into from Feb 7, 2022
Merged

Remove redundant Python 3.6 code #802

merged 1 commit into from Feb 7, 2022

Conversation

ericwb
Copy link
Member

@ericwb ericwb commented Feb 7, 2022

Bandit no longer supports Pytyon 3.6 and earlier since those are
end-of-life. Therefore there is no longer a need to have any
code that conditional checks on versions as early as that.

This change cleans up the sql_statements check to only be for
Python 3.7 and later.

Closes #800

Signed-off-by: Eric Brown browne@vmware.com

Bandit no longer supports Pytyon 3.6 and earlier since those are
end-of-life. Therefore there is no longer a need to have any
code that conditional checks on versions as early as that.

This change cleans up the sql_statements check to only be for
Python 3.7 and later.

Closes #800

Signed-off-by: Eric Brown <browne@vmware.com>
@lukehinds lukehinds merged commit 9131162 into PyCQA:master Feb 7, 2022
@ericwb ericwb added this to the Release 1.7.3 milestone Feb 16, 2022
@ericwb ericwb deleted the py36 branch February 21, 2022 21:35
This was referenced Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Python 3.6 specific code in test_functional.py
2 participants