Skip to content

Adjust F541 linting issue on Lib/test module #103805

Closed
@rodolfomp123

Description

@rodolfomp123

Feature or enhancement

After running ruff in CPython, some linting and formatting errors were found.
This issue intends to fix the F541 f-string without any placeholders errors related to the Lib/test module.

Pitch

In the CPython/Lib directory, we run the following command:

ruff test/ --select F541

We can see these kind of alerts:

...
test/test_sqlite3/test_regression.py:494:32: F541 f-string without any placeholders
test/test_sqlite3/test_regression.py:501:32: F541 f-string without any placeholders
test/test_sqlite3/test_regression.py:508:32: F541 f-string without any placeholders
test/test_sqlite3/test_userfunctions.py:565:22: F541 f-string without any placeholders
...

Previous discussion

None

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions