9
0
mirror of https://github.com/donlon/cloudflare-error-page.git synced 2026-01-06 15:41:45 +00:00
Files
cloudflare-error-page/pyproject.toml
2025-12-28 23:05:51 +08:00

65 lines
1.4 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "cloudflare-error-page"
dynamic = [ "version" ]
description = "A customizable Cloudflare error page generator"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [{ name = "Anthony Donlon" }]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"jinja2>=3.0"
]
[project.urls]
Homepage = "https://github.com/donlon/cloudflare-error-page"
[tool.hatch.build]
include = [
"cloudflare_error_page/**/*",
]
exclude = [".gitignore"]
[tool.hatch.build.targets.sdist]
include = [
"cloudflare_error_page/**/*",
"resources/**/*",
"scripts/**/*",
]
[tool.hatch.build.targets.wheel.hooks.custom]
path = "scripts/hatch_build.py"
[tool.hatch.version]
path = "cloudflare_error_page/__init__.py"
[tool.ruff]
line-length = 120
target-version = "py310"
include = [
"cloudflare_error_page/**/*.py",
"scripts/**/*.py",
]
[tool.ruff.lint]
ignore = [
'E722', # Bare-except
]
[tool.ruff.format]
quote-style = "single"