Skip to content

Commit

Permalink
Remove python_requires upper bound; format toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jieter committed Dec 23, 2024
1 parent 9a7df1a commit a681db4
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 35 deletions.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ repos:
rev: v3.19.0
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py39-plus]

- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.14.0
hooks:
- id: pretty-format-toml
args: [--autofix]
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
Expand Down
73 changes: 39 additions & 34 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,51 +3,56 @@ build-backend = "hatchling.build"
requires = ["hatchling"]

[project]
name="django-tables2"
description="Table/data-grid framework for Django"
readme = "README.md"
authors = [
{name="Bradley Ayers",email="[email protected]"},
{name="Jan Pieter Waagmeester", email="[email protected]"},
{name = "Bradley Ayers", email = "[email protected]"},
{name = "Jan Pieter Waagmeester", email = "[email protected]"}
]
license = {file = "LICENSE"}
dynamic = ["version"]
url="https://github.com/jieter/django-tables2/"
install_requires=["Django>=4.2"]
extras_require={tablib = ["tablib"]}
python_requires = ">=3.9,<=3.12"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries",
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries"
]
description = "Table/data-grid framework for Django"
dynamic = ["version"]
extras_require = {tablib = ["tablib"]}
install_requires = ["Django>=4.2"]
license = {file = "LICENSE"}
name = "django-tables2"
python_requires = ">=3.9"
readme = "README.md"

[tool.hatch.version]
path = "django_tables2/__init__.py"
[project.urls]
Changelog = "https://github.com/jieter/django-tables2/blob/master/CHANGELOG.md"
Documentation = "https://django-tables2.readthedocs.io/en/latest/"
Homepage = "https://github.com/jieter/django-tables2/"
Readme = "https://github.com/jieter/django-tables2/blob/master/README.md"

[tool.black]
line-length = 100

[tool.hatch.build.targets.sdist]
exclude = ["docs"]

[tool.hatch.build.targets.wheel]
packages = ["django_tables2"]

[tool.hatch.version]
path = "django_tables2/__init__.py"

[tool.setuptools.dynamic]
version = {attr = "django_tables2.__version__"}

[tool.black]
line-length = 100

0 comments on commit a681db4

Please sign in to comment.