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.