From a559923af83a0145b50ed43c8c59393641e3c68c Mon Sep 17 00:00:00 2001 From: Gulnur Baimukhambetova Date: Thu, 13 Oct 2022 00:28:05 -0400 Subject: [PATCH] STYLE: fix pylint no-method-argument warning --- pandas/tests/io/test_gcs.py | 1 + pyproject.toml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/io/test_gcs.py b/pandas/tests/io/test_gcs.py index 6907d8978e603..3e94a31b3b25c 100644 --- a/pandas/tests/io/test_gcs.py +++ b/pandas/tests/io/test_gcs.py @@ -33,6 +33,7 @@ def gcs_buffer(monkeypatch): gcs_buffer.close = lambda: True class MockGCSFileSystem(AbstractFileSystem): + @staticmethod def open(*args, **kwargs): gcs_buffer.seek(0) return gcs_buffer diff --git a/pyproject.toml b/pyproject.toml index 00467a5dfe206..d92d7b086def2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,7 +67,6 @@ disable = [ "invalid-repr-returned", "invalid-unary-operand-type", "no-member", - "no-method-argument", "no-name-in-module", "no-value-for-parameter", "not-an-iterable",