Skip to content

Commit

Permalink
fix: append ruff check skip comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennifer Tran committed May 16, 2024
1 parent a4dfa48 commit fd2433e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions earthaccess/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fd2433e

Please sign in to comment.