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

Fix sql injection check for f-strings #434

Merged
merged 5 commits into from Dec 2, 2018

Conversation

mikespallino
Copy link
Contributor

  • added check for f-string sql injection
  • added test

- added check for f-string sql injection
- added test
- fix flake8 issues
tests/functional/test_functional.py Outdated Show resolved Hide resolved
tests/functional/test_functional.py Outdated Show resolved Hide resolved
- move sys import
- change version -> version_info. This wasn't doing the right thing before.
- check for versions below 3.6 first, all versions greater check for f strings
- be more sensible about versions
@ericwb ericwb merged commit d237448 into PyCQA:master Dec 2, 2018
@ericwb ericwb changed the title [Fix for PyCQA#427] Fix sql injection check for f-strings Dec 2, 2018
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.

None yet

2 participants