diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 97009ca..23d58b3 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: v5.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.19.1 hooks: - id: pyupgrade args: [--py36-plus] - repo: https://github.com/adamchainz/django-upgrade - rev: 1.15.0 + rev: 1.23.1 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: v2.7.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.5.3" + rev: "v2.5.1" hooks: - id: pyproject-fmt - repo: https://github.com/tox-dev/tox-ini-fmt - rev: "1.3.1" + rev: "1.5.0" hooks: - id: tox-ini-fmt diff --git a/pyproject.toml b/pyproject.toml index d30f8df..b1a09b5 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,7 @@ classifiers =[ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ] @@ -38,19 +39,18 @@ 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 @@ -61,7 +61,7 @@ local_scheme = "no-local-version" source = [ "simple_menu", ] -plugins = ["covdefaults"] +plugins = [ "covdefaults" ] [tool.coverage.report] fail_under = 85