diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b72260e..60a24b0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ exclude: '^docs/conf.py' repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: check-added-large-files @@ -17,7 +17,7 @@ repos: args: ['--fix=no'] - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 additional_dependencies: @@ -38,7 +38,7 @@ repos: - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.10.0 hooks: - id: black @@ -53,7 +53,7 @@ repos: - id: rst-backticks - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.19.0 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/beetsplug/__init__.py b/beetsplug/__init__.py index de7876e..299f1e0 100644 --- a/beetsplug/__init__.py +++ b/beetsplug/__init__.py @@ -1,4 +1,5 @@ """Beets plug-in for generating statistics about your music library.""" + from pkgutil import extend_path __version__ = "0.2.0" diff --git a/beetsplug/summarize.py b/beetsplug/summarize.py index 1432828..6169c87 100644 --- a/beetsplug/summarize.py +++ b/beetsplug/summarize.py @@ -1,4 +1,5 @@ """Summarize library statistics.""" + from __future__ import annotations from collections import OrderedDict