Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #144

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ 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
- id: mixed-line-ending
- id: check-toml
- id: check-yaml
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.19.0
hooks:
- id: pyupgrade
args: [--py36-plus]
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.15.0
rev: 1.22.2
hooks:
- id: django-upgrade
args: [--target-version, "3.2"]
Expand All @@ -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.0"
hooks:
- id: pyproject-fmt
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: "1.3.1"
rev: "1.4.1"
hooks:
- id: tox-ini-fmt
28 changes: 14 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"="[email protected]"}]
license = { text = "BSD 2-Clause" }
authors = [ { "name" = "Evan Borgstrom", "email" = "[email protected]" } ]
requires-python = ">=3.6"
classifiers =[
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 3.2",
Expand All @@ -31,26 +31,26 @@ 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",
]
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
Expand All @@ -61,7 +61,7 @@ local_scheme = "no-local-version"
source = [
"simple_menu",
]
plugins = ["covdefaults"]
plugins = [ "covdefaults" ]

[tool.coverage.report]
fail_under = 85