Closed
Description
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