ruff/crates/ruff_linter/resources/test/fixtures/flake8_bandit/S413.pyi
Tom Kuson 7a10a40b0d
[flake8-bandit] Permit suspicious imports within stub files (S4) (#15822)
## 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.
2025-01-29 23:42:56 -06:00

4 lines
104 B
Python

import Crypto.Hash
from Crypto.Hash import MD2
import Crypto.PublicKey
from Crypto.PublicKey import RSA