mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 14:52:01 +00:00

## Summary Permits suspicious imports (the `S4` namespaced diagnostics) from stub files. Closes #15207. ## Test Plan Added tests and ran `cargo nextest run`. The test files are copied from the `.py` variants.
4 lines
104 B
Python
4 lines
104 B
Python
import Crypto.Hash
|
|
from Crypto.Hash import MD2
|
|
import Crypto.PublicKey
|
|
from Crypto.PublicKey import RSA
|