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

## Summary Adds all `S4XX` rules to the [flake8-bandit](https://github.com/tylerwince/flake8-bandit) plugin port. There is a lot of documentation to write, some tests can be expanded and implementation can probably be refactored to be more compact. As there is some discussion on whether this is actually useful. (See: https://github.com/astral-sh/ruff/issues/1646#issuecomment-1732331441), wanted to check which rules we want to have before I go through the process of polishing this up. ## Test Plan Fixtures for all rules based on `flake8-bandit` [tests](https://github.com/tylerwince/flake8-bandit/tree/main/tests) ## Issue link Refers: https://github.com/astral-sh/ruff/issues/1646
8 lines
169 B
Python
8 lines
169 B
Python
import dill # S403
|
|
from dill import objects # S403
|
|
import shelve
|
|
from shelve import open
|
|
import cPickle
|
|
from cPickle import load
|
|
import pickle
|
|
from pickle import load
|