Skip to content

Commit

Permalink
lint: justify disabling ruff ANN201 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
unexcellent committed Oct 29, 2024
1 parent 8fac6db commit 4b5b42f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ ignore = [
"PERF401",
"ARG003",
"ANN001",
"ANN201",
]

[tool.mypy]
Expand Down
2 changes: 1 addition & 1 deletion raillabel/save/save.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from ..format import Scene


def save(scene: Scene, path: str, prettify_json: bool = False):
def save(scene: Scene, path: str, prettify_json: bool = False) -> None:
"""Save a raillabel.Scene in a JSON file.
Parameters
Expand Down

0 comments on commit 4b5b42f

Please sign in to comment.