mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 06:11:43 +00:00
[flake8-bandit
] Add Rule for S324
(Insecure hash functions in hashlib
) (#1661)
ref: https://github.com/charliermarsh/ruff/issues/1646
This commit is contained in:
parent
1991d618a3
commit
9f8ef1737e
13 changed files with 289 additions and 7 deletions
|
@ -582,7 +582,7 @@ pub struct SimpleCallArgs<'a> {
|
|||
}
|
||||
|
||||
impl<'a> SimpleCallArgs<'a> {
|
||||
pub fn new(args: &'a Vec<Expr>, keywords: &'a Vec<Keyword>) -> Self {
|
||||
pub fn new(args: &'a [Expr], keywords: &'a [Keyword]) -> Self {
|
||||
let mut result = SimpleCallArgs::default();
|
||||
|
||||
for arg in args {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue