-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Ruff a45753f
class AbstractFolderIO:
def __repr__(self):
return'<%s: %s>' % (self.__class__.__name__, self.path)
with
ruff file.py --fix
error: Autofix introduced a syntax error. Reverting all changes.
This indicates a bug in `ruff`. If you could open an issue at:
https://github.com/charliermarsh/ruff/issues/new?title=%5BAutofix%20error%5D
...quoting the contents of `Desktop/RunEveryCommand/Ruff/Broken/23027file_io (3rd copy)0.py`, along with the `pyproject.toml` settings and executed command, we'd be very appreciative!
Desktop/RunEveryCommand/Ruff/Broken/23027file_io (3rd copy)0.py:1:1: INP001 File `Desktop/RunEveryCommand/Ruff/Broken/23027file_io (3rd copy)0.py` is part of an implicit namespace package. Add an `__init__.py`.
Desktop/RunEveryCommand/Ruff/Broken/23027file_io (3rd copy)0.py:1:1: D100 Missing docstring in public module
Desktop/RunEveryCommand/Ruff/Broken/23027file_io (3rd copy)0.py:1:7: D101 Missing docstring in public class
Desktop/RunEveryCommand/Ruff/Broken/23027file_io (3rd copy)0.py:2:9: ANN204 Missing return type annotation for special method `__repr__`
Desktop/RunEveryCommand/Ruff/Broken/23027file_io (3rd copy)0.py:2:9: D105 Missing docstring in magic method
Desktop/RunEveryCommand/Ruff/Broken/23027file_io (3rd copy)0.py:2:18: ANN101 Missing type annotation for `self` in method
Desktop/RunEveryCommand/Ruff/Broken/23027file_io (3rd copy)0.py:3:15: Q000 Single quotes found but double quotes preferred
Desktop/RunEveryCommand/Ruff/Broken/23027file_io (3rd copy)0.py:3:15: UP031 Use format specifiers instead of percent format
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working