ruff
75c9be09 - [`E721`] Flag comparisons to `memoryview` (#8485)

Commit
1 year ago
[`E721`] Flag comparisons to `memoryview` (#8485) ## Summary Adds `memoryview` to the list of typeclasses that `fn is_type()` uses for type comparison checks so that it raises a violation if `is`, `is not` or `isinstance()` are not used. ## Test Plan Added examples to existing fixture ## Issue Link Closes: https://github.com/astral-sh/ruff/issues/8483
Author
Parents
Loading