From c976d527a173e4b12c94e1228bc0264cd12c9492 Mon Sep 17 00:00:00 2001 From: Lucas <116588+hairmare@users.noreply.github.com> Date: Sun, 8 Dec 2024 12:54:35 +0100 Subject: [PATCH] chore: remove pylint annotations and update pre-commit ruff (#630) --- .pre-commit-config.yaml | 2 +- suisa_sendemeldung/acrclient.py | 2 +- suisa_sendemeldung/suisa_sendemeldung.py | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ce358722..9f7cfc28 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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'] diff --git a/suisa_sendemeldung/acrclient.py b/suisa_sendemeldung/acrclient.py index 0ccd2fe7..6b2b5bcc 100644 --- a/suisa_sendemeldung/acrclient.py +++ b/suisa_sendemeldung/acrclient.py @@ -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: diff --git a/suisa_sendemeldung/suisa_sendemeldung.py b/suisa_sendemeldung/suisa_sendemeldung.py index 71d66d23..47bac2d2 100644 --- a/suisa_sendemeldung/suisa_sendemeldung.py +++ b/suisa_sendemeldung/suisa_sendemeldung.py @@ -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.