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

Check for printf style placeholders in strings #1235

Closed
sobolevn opened this issue Mar 5, 2020 · 0 comments
Closed

Check for printf style placeholders in strings #1235

sobolevn opened this issue Mar 5, 2020 · 0 comments
Assignees
Labels
level:advanced Needs a lot of care rule request Adding a new rule

Comments

@sobolevn
Copy link
Member

sobolevn commented Mar 5, 2020

Rule request

Thesis

We need to raise a violation when we see a string definition like 'my name is: %s'
We don't care that it is not used yet. It is a sign that wrong formatting will be used.

Reasoning

Since we are removing flake8-pep3101 we are free to improve this field of our checks.
Related #1173

@sobolevn sobolevn added rule request Adding a new rule level:advanced Needs a lot of care labels Mar 5, 2020
@sobolevn sobolevn added this to the Version 0.14 aka python3.8 milestone Mar 5, 2020
@sobolevn sobolevn self-assigned this Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level:advanced Needs a lot of care rule request Adding a new rule
Projects
None yet
Development

No branches or pull requests

1 participant