Skip to content

Commit

Permalink
Remove ruff rules "D104" and "D107"
Browse files Browse the repository at this point in the history
  • Loading branch information
MetinSa committed Jan 29, 2023
1 parent 93c9ef7 commit f1e2f13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ ignore = [
"B905",
"D100",
"D104",
"ANN101"
"D105",
"D107",
"ANN101",
]

[tool.ruff.pydocstyle]
Expand Down
2 changes: 0 additions & 2 deletions zodipy/zodipy.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def __init__(
parallel: bool = False,
n_proc: int | None = None,
) -> None:
"""Initialize the Zodipy interface."""
self.model = model
self.gauss_quad_degree = gauss_quad_degree
self.extrapolate = extrapolate
Expand Down Expand Up @@ -539,7 +538,6 @@ def _compute_emission(
return emission if return_comps else emission.sum(axis=0)

def __repr__(self) -> str:
"""Return a string representation of the class."""
repr_str = f"{self.__class__.__name__}("
for attribute_name, attribute in self.__dict__.items():
if attribute_name.startswith("_"):
Expand Down

0 comments on commit f1e2f13

Please sign in to comment.