Skip to content

Commit 1328479

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4da6af2 commit 1328479

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pylint_ml/checkers/pandas/pandas_dataframe_naming.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class PandasDataFrameNamingChecker(BaseChecker):
2525
@only_required_for_messages("pandas-dataframe-naming")
2626
def visit_assign(self, node: nodes.Assign) -> None:
2727
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)
28+
func_name = getattr(node.value.func, "attrname", None)
29+
module_name = getattr(node.value.func.expr, "name", None)
3030

3131
if func_name == "DataFrame" and module_name == "pd":
3232

0 commit comments

Comments
 (0)