ruff/crates/ruff_linter/resources/test/fixtures/flake8_bandit/S301.py
InSync 5cd1f79864
[flake8-bandit] Report all references to suspicious functions (S3) (#15541)
## Summary

Resolves #15522.

## Test Plan

`cargo nextest run` and `cargo insta test`.

---------

Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
2025-01-20 09:02:53 +00:00

8 lines
120 B
Python

import pickle
pickle.loads()
# https://github.com/astral-sh/ruff/issues/15522
map(pickle.load, [])
foo = pickle.load