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

filesystem: fix use of f-string without placeholder #1344

Merged
merged 1 commit into from Jul 8, 2022

Conversation

ogayot
Copy link
Member

@ogayot ogayot commented Jul 8, 2022

When running make lint with flake8 >= 4.0.0 (available in jammy), the following error is reported:

subiquity/server/controllers/filesystem.py:158:33:F541 f-string is missing placeholders

Github runs the lint job in a focal container, where only version 3.8.4 of flake8 is installed. F541 is not implemented in 3.8.4 so it does not fail.

When running make lint with flake8 >= 4.0.0 (available in jammy), the
following error is reported:

subiquity/server/controllers/filesystem.py:158:33:
F541 f-string is missing placeholders

Github runs the lint job in a focal container, where only version 3.8.4
of flake8 is installed. F541 is not implemented in 3.8.4 so it does not
fail.

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
@ogayot ogayot requested a review from dbungert July 8, 2022 07:54
@dbungert dbungert merged commit c6078bd into canonical:main Jul 8, 2022
@mwhudson
Copy link
Collaborator

Github runs the lint job in a focal container

Maybe we should change that?

@ogayot ogayot deleted the lint-jammy branch July 11, 2022 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants