Describe the Bug
Test file (named test1.py
):
"""Test."""
1 + 1 # pyrefly: ignore
Expected behavior: pyrefly should report that it removed 1 unused ignore
Actual behavior:
$ pyrefly check test1.py --remove-unused-ignores
INFO 0 errors
INFO Removed 2 unused error suppression(s) in 1 file(s)
(Pyrefly does correctly remove the 1 ignore, but it claims to have removed 2.)
Sandbox Link
No response
(Only applicable for extension issues) IDE Information
No response