Skip to content

Commit 4957dd9

Browse files
committed
Add scipy import checker
1 parent 639dd58 commit 4957dd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint_ml/checkers/scipy/import_scipy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ScipyImportChecker(BaseChecker):
1717
msgs = {
1818
"W8401": (
1919
"Direct or aliased Scipy import detected",
20-
"scipy-direct-aliased-import",
20+
"scipy-import",
2121
"Using `import scipy` or `import scipy as ...` is not recommended. For better clarity and consistency, "
2222
"it is advisable to import specific submodules directly, using the `from scipy import ...` syntax. "
2323
"This approach prevents confusion and aligns with common practices by explicitly stating which "

0 commit comments

Comments
 (0)