From fd2433effc2b201c70269ec7b1d59534e03493be Mon Sep 17 00:00:00 2001 From: Jennifer Tran Date: Thu, 16 May 2024 16:12:31 -0700 Subject: [PATCH] fix: append ruff check skip comment --- earthaccess/search.py | 4 ++-- pyproject.toml | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/earthaccess/search.py b/earthaccess/search.py index e0ab77f2..13f8c315 100644 --- a/earthaccess/search.py +++ b/earthaccess/search.py @@ -309,8 +309,8 @@ def parameters(self, **kwargs: Any) -> Self: def print_help(self, method: str = "fields") -> None: """Prints the help information for a given method.""" - print("Class components: \n") - print([method for method in dir(self) if method.startswith("_") is False]) + print("Class components: \n") # noqa: T201 + print([method for method in dir(self) if method.startswith("_") is False]) # noqa: T201 help(getattr(self, method)) def fields(self, fields: Optional[List[str]] = None) -> Self: diff --git a/pyproject.toml b/pyproject.toml index 92e61470..f1d38a74 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -127,9 +127,6 @@ src = ["earthaccess", "stubs", "tests"] [tool.ruff.lint] extend-select = ["I", "T20"] -[tool.ruff.lint.per-file-ignores] -"earthaccess/search.py" = ["T20"] - [tool.ruff.lint.isort] combine-as-imports = true