You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
...
This PR makes some minor linting adjustments to the Lib/test module
caught by [ruff](https://github.com/charliermarsh/ruff). The adjustments
are all related to the `F541 f-string without any placeholders` issue.
Issue: #103805
<!-- gh-issue-number: gh-103805 -->
* Issue: gh-103805
<!-- /gh-issue-number -->
---------
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
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:We can see these kind of alerts:
Previous discussion
None
Linked PRs
The text was updated successfully, but these errors were encountered: