mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-09-29 17:08:49 +08:00
Enable ruff NPY002 rule (#11336)
This commit is contained in:
@@ -7,7 +7,6 @@ lint.ignore = [ # `ruff rule S101` for a description of that rule
|
||||
"EXE001", # Shebang is present but file is not executable" -- FIX ME
|
||||
"G004", # Logging statement uses f-string
|
||||
"INP001", # File `x/y/z.py` is part of an implicit namespace package. Add an `__init__.py`. -- FIX ME
|
||||
"NPY002", # Replace legacy `np.random.choice` call with `np.random.Generator` -- FIX ME
|
||||
"PGH003", # Use specific rule codes when ignoring type issues -- FIX ME
|
||||
"PLC1901", # `{}` can be simplified to `{}` as an empty string is falsey
|
||||
"PLW060", # Using global for `{name}` but no assignment is done -- DO NOT FIX
|
||||
|
||||
Reference in New Issue
Block a user