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
Found 3 error(s) (3 fixed).
__init__.py:1:20: F401 `typing.Dict` imported but unused and missing from `__all__`
__init__.py:1:26: F401 `typing.List` imported but unused and missing from `__all__`
__init__.py:1:32: F401 `typing.Tuple` imported but unused and missing from `__all__`
If the file is not named __init__.py it correctly also removes the unused import. I suspect it has something to do with the internals and how __all__ works in __init__.py
The text was updated successfully, but these errors were encountered:
This is with
ruff==0.0.155
Consider the following file as an
__init.py__
somewhere in a codeRunning
ruff --fix
turns it intowith the output:
If the file is not named
__init__.py
it correctly also removes the unused import. I suspect it has something to do with the internals and how__all__
works in__init__.py
The text was updated successfully, but these errors were encountered: