Skip to content

Commit

Permalink
chore: remove pylint annotations and update pre-commit ruff (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Dec 8, 2024
1 parent ce0e1ca commit c976d52
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.0
rev: v0.8.2
hooks:
- id: ruff
args: ['--fix']
Expand Down
2 changes: 1 addition & 1 deletion suisa_sendemeldung/acrclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_interval_data( # noqa: ANN201
start: date,
end: date,
timezone: str = ACR_TIMEZONE,
): # pylint: disable-msg=too-many-locals,too-many-arguments
):
"""Get data specified by interval from start to end.
Arguments:
Expand Down
2 changes: 0 additions & 2 deletions suisa_sendemeldung/suisa_sendemeldung.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,6 @@ def get_isrc(music: Any) -> str: # noqa: ANN401
return isrc


# all local vars are required, eight are already used for the csv entries
# pylint: disable-msg=too-many-locals
def get_csv(data: dict, station_name: str = "") -> str:
"""Create SUISA compatible csv data.
Expand Down

0 comments on commit c976d52

Please sign in to comment.