From 7644e7c9cbd244f12799bcd7acbc11f9f1e1adfa Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 17:43:42 +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.5.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v6.0.0) - [github.com/asottile/pyupgrade: v3.15.0 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.21.2) - [github.com/adamchainz/django-upgrade: 1.15.0 → 1.30.0](https://github.com/adamchainz/django-upgrade/compare/1.15.0...1.30.0) - [github.com/asottile/setup-cfg-fmt: v2.5.0 → v3.2.0](https://github.com/asottile/setup-cfg-fmt/compare/v2.5.0...v3.2.0) - [github.com/tox-dev/pyproject-fmt: 1.5.3 → v2.23.0](https://github.com/tox-dev/pyproject-fmt/compare/1.5.3...v2.23.0) - [github.com/tox-dev/tox-ini-fmt: 1.3.1 → 1.7.1](https://github.com/tox-dev/tox-ini-fmt/compare/1.3.1...1.7.1) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 97009ca..1433059 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace @@ -11,12 +11,12 @@ repos: - id: check-toml - id: check-yaml - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.21.2 hooks: - id: pyupgrade args: [--py36-plus] - repo: https://github.com/adamchainz/django-upgrade - rev: 1.15.0 + rev: 1.30.0 hooks: - id: django-upgrade args: [--target-version, "3.2"] @@ -30,14 +30,14 @@ repos: - id: rst-backticks - id: rst-directive-colons - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.5.0 + rev: v3.2.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.5.3" + rev: "v2.23.0" hooks: - id: pyproject-fmt - repo: https://github.com/tox-dev/tox-ini-fmt - rev: "1.3.1" + rev: "1.7.1" hooks: - id: tox-ini-fmt From 752f33f5ba21abbb4ec0208ee0f96ee4da8bea86 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 17:44:14 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d30f8df..828939a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,17 +2,17 @@ build-backend = "setuptools.build_meta" requires = [ "setuptools>=42", - "setuptools_scm[toml]>=3.4", + "setuptools-scm[toml]>=3.4", ] [project] name = "django-simple-menu" description = "Simple, yet powerful, code-based menus for Django applications" readme = "README.rst" -license = {text = "BSD 2-Clause"} -authors = [{"name"= "Evan Borgstrom", "email"="evan@borgstrom.ca"}] +license = { text = "BSD 2-Clause" } +authors = [ { name = "Evan Borgstrom", email = "evan@borgstrom.ca" } ] requires-python = ">=3.6" -classifiers =[ +classifiers = [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Framework :: Django :: 3.2", @@ -31,6 +31,8 @@ classifiers =[ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ] @@ -38,30 +40,27 @@ dynamic = [ "version", ] dependencies = [ - "Django>=3.2", - 'importlib_metadata; python_version < "3.8"', + "django>=3.2", + "importlib-metadata; python_version<'3.8'", ] -[project.urls] -"Source Code" = "https://github.com/jazzband/django-simple-menu" +urls."Source Code" = "https://github.com/jazzband/django-simple-menu" [tool.setuptools] -packages =[ - "simple_menu", - "menu", - ] +packages = [ + "simple_menu", + "menu", +] include-package-data = true -license-files = ["LICENSE"] +license-files = [ "LICENSE" ] [tool.setuptools_scm] # this empty section means: use_scm_version=True version_scheme = "guess-next-dev" local_scheme = "no-local-version" -[tool.coverage.run] -source = [ +[tool.coverage] +run.plugins = [ "covdefaults" ] +run.source = [ "simple_menu", ] -plugins = ["covdefaults"] - -[tool.coverage.report] -fail_under = 85 +report.fail_under = 85