From fea796f4fe81d1e6f97395c2e89a66b4f0280c10 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 22:23:22 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v5.0.0) - [github.com/pre-commit/pygrep-hooks: v1.9.0 → v1.10.0](https://github.com/pre-commit/pygrep-hooks/compare/v1.9.0...v1.10.0) - [github.com/asottile/add-trailing-comma: v2.2.3 → v3.1.0](https://github.com/asottile/add-trailing-comma/compare/v2.2.3...v3.1.0) - [github.com/asottile/pyupgrade: v2.34.0 → v3.19.0](https://github.com/asottile/pyupgrade/compare/v2.34.0...v3.19.0) - [github.com/asottile/yesqa: v1.3.0 → v1.5.0](https://github.com/asottile/yesqa/compare/v1.3.0...v1.5.0) - [github.com/psf/black: 22.3.0 → 24.10.0](https://github.com/psf/black/compare/22.3.0...24.10.0) - [github.com/PyCQA/flake8: 4.0.1 → 7.1.1](https://github.com/PyCQA/flake8/compare/4.0.1...7.1.1) - [github.com/pycqa/isort: 5.12.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.12.0...5.13.2) - [github.com/crate-ci/typos: v1.10.2 → typos-dict-v0.11.35](https://github.com/crate-ci/typos/compare/v1.10.2...typos-dict-v0.11.35) - [github.com/pycqa/autoflake: v1.4 → v2.3.1](https://github.com/pycqa/autoflake/compare/v1.4...v2.3.1) --- .pre-commit-config.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 40e596e..c714b3b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: hooks: - id: check-hooks-apply - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v5.0.0 hooks: - id: check-ast - id: check-builtin-literals @@ -26,7 +26,7 @@ repos: # additional_dependencies: # - types-toml - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.9.0 + rev: v1.10.0 hooks: - id: python-check-blanket-noqa - id: python-check-blanket-type-ignore @@ -35,23 +35,23 @@ repos: - id: python-no-log-warn - id: python-use-type-annotations - repo: https://github.com/asottile/add-trailing-comma - rev: v2.2.3 + rev: v3.1.0 hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v2.34.0 + rev: v3.19.0 hooks: - id: pyupgrade - repo: https://github.com/asottile/yesqa - rev: v1.3.0 + rev: v1.5.0 hooks: - id: yesqa - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 7.1.1 hooks: - id: flake8 args: ["--max-line-length", "88", "--extend-ignore", "E501"] @@ -73,16 +73,16 @@ repos: # - toml # exclude: airflint/__main__.py|tests/ - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort args: ["--profile", "black"] - repo: https://github.com/crate-ci/typos - rev: v1.10.2 + rev: typos-dict-v0.11.35 hooks: - id: typos - repo: https://github.com/pycqa/autoflake - rev: v1.4 + rev: v2.3.1 hooks: - id: autoflake args: ["--remove-all-unused-imports", "--in-place"] From 3308df3ed43f0d857c877aee62bcb6241c54e8f7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 22:23:34 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- diggerpy/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/diggerpy/models.py b/diggerpy/models.py index 6ee3b55..2c96de2 100644 --- a/diggerpy/models.py +++ b/diggerpy/models.py @@ -86,7 +86,8 @@ class Release: year (str): The release year. genres (list): A list of genres associated with the release. styles (list): A list of styles associated with the release. - tracklist (list): A list of track objects representing the release's tracklist.""" + tracklist (list): A list of track objects representing the release's tracklist. + """ def __init__(self, data): self.id = data["id"]