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",