-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
acceptedReady for implementationReady for implementationbugSomething isn't workingSomething isn't workingfixesRelated to suggested fixes for violationsRelated to suggested fixes for violations
Description
Ruff 0.0.285 (latest changes from main branch)
ruff *.py --select ALL --no-cache
file content:
"""Unit tests for numbers.py."""
class TestNumbers(unittest.TestCase):
self.assertEqual(1, int(7).denominator)
error:
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/astral-sh/ruff/issues/new?title=%5BAutofix%20error%5D
...quoting the contents of `PY_FILE_TEST_14593204764.py`, the rule codes PT009, SIM300, UP018, along with the `pyproject.toml` settings and executed command, we'd be very appreciative!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
acceptedReady for implementationReady for implementationbugSomething isn't workingSomething isn't workingfixesRelated to suggested fixes for violationsRelated to suggested fixes for violations