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

tox: bump pylint to 2.12.2 #173

Merged
merged 1 commit into from
Dec 13, 2021
Merged

Conversation

paride
Copy link
Collaborator

@paride paride commented Dec 13, 2021

This solves a E1136 false positive with Python 3.9 [1], but the code
needs some changes to test clean.

[1] pylint-dev/pylint#3882

This solves a E1136 false positive with Python 3.9 [1], but the code
needs some changes to test clean.

[1] pylint-dev/pylint#3882
@paride
Copy link
Collaborator Author

paride commented Dec 13, 2021

Let me know if you prefer me to batch-fix C0209 (consider-using-f-string) instead of silencing it.

Copy link
Member

@TheRealFalcon TheRealFalcon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like us to upgrade all of our string formatting to f-strings eventually. They're faster and cleaner than the other formatting options. I'm also aware of a tool that should make it easier when we do decide to do it.

This can (and probably should) be a separate PR though, so this PR Is good as-is.

@paride
Copy link
Collaborator Author

paride commented Dec 13, 2021

https://github.com/ikamensh/flynt: nice! But I gave it a blind shot and it didn't detect/convert 100% of the format strings (a number of C0209 remain for some reason), and there are some "E501 line too long" to fix. Maybe worth a separate PR as you say.

@paride paride merged commit 717d250 into canonical:main Dec 13, 2021
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.

2 participants