chore: enable NPY ruff rules
This commit is contained in:
@@ -145,6 +145,7 @@ extend-select = [
|
|||||||
"PTH", # flake8-use-pathlib
|
"PTH", # flake8-use-pathlib
|
||||||
# "RUF", # ruff
|
# "RUF", # ruff
|
||||||
"ASYNC", # flake8-async
|
"ASYNC", # flake8-async
|
||||||
|
"NPY", # numpy
|
||||||
]
|
]
|
||||||
|
|
||||||
extend-ignore = [
|
extend-ignore = [
|
||||||
@@ -155,6 +156,7 @@ extend-ignore = [
|
|||||||
"S603", # `subprocess` call: check for execution of untrusted input
|
"S603", # `subprocess` call: check for execution of untrusted input
|
||||||
"S607", # Starting a process with a partial executable path
|
"S607", # Starting a process with a partial executable path
|
||||||
"S608", # Possible SQL injection vector through string-based query construction
|
"S608", # Possible SQL injection vector through string-based query construction
|
||||||
|
"NPY002", # Numpy legacy random generator
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.ruff.lint.mccabe]
|
[tool.ruff.lint.mccabe]
|
||||||
|
|||||||
Reference in New Issue
Block a user