We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4da6af2 commit 1328479Copy full SHA for 1328479
pylint_ml/checkers/pandas/pandas_dataframe_naming.py
@@ -25,8 +25,8 @@ class PandasDataFrameNamingChecker(BaseChecker):
25
@only_required_for_messages("pandas-dataframe-naming")
26
def visit_assign(self, node: nodes.Assign) -> None:
27
if isinstance(node.value, nodes.Call):
28
- func_name = getattr(node.value.func, 'attrname', None)
29
- module_name = getattr(node.value.func.expr, 'name', None)
+ func_name = getattr(node.value.func, "attrname", None)
+ module_name = getattr(node.value.func.expr, "name", None)
30
31
if func_name == "DataFrame" and module_name == "pd":
32
0 commit comments