We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Preview check FURB189 suggest using collections.UserStr, but correct base class if collections.UserString (https://docs.python.org/3/library/collections.html#userstring-objects)
collections.UserStr
collections.UserString
Example code to trigger checker:
class MyStr(str): __ slots__ = ()
Check command used: ruff check --preview --select=FURB189
ruff check --preview --select=FURB189
Ruff version: 0.7.3
The text was updated successfully, but these errors were encountered:
Hi @penguinolog thanks for flagging this!
The issue has already been resolved in main and will be fixed in the upcoming release (#14209).
Sorry, something went wrong.
Closing as duplicate for fixed #14209
No branches or pull requests
Preview check FURB189 suggest using
collections.UserStr
, but correct base class ifcollections.UserString
(https://docs.python.org/3/library/collections.html#userstring-objects)Example code to trigger checker:
Check command used:
ruff check --preview --select=FURB189
Ruff version: 0.7.3
The text was updated successfully, but these errors were encountered: