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
{{ message }}
Repository navigation
Commit 19a4bea
Browse filesBrowse the repository at this point in the historyBrowse files
[flake8-pyi] Rename PYI033 to legacy-type-comment (#26131)
## Summary
Rename PYI033 from `type-comment-in-stub` to `legacy-type-comment`,
including the internal rule, module, and preview-helper identifiers.
The new name reflects that the rule also runs on Python files in preview
mode, rather than implying that it only applies to stub files.
After running the tests, always review the contents of any snapshots that have been added or updated.
59
61
60
62
When running tests with `INSTA_FORCE_PASS=1`, check for `.pending-snap` files if any affected tests use inline snapshots.
61
63
64
+
Never edit snapshot files or inline snapshot bodies manually. Regenerate them by running the relevant tests with the snapshot-update environment variables documented above, then review the generated diff.
0 commit comments