init
This commit is contained in:
commit
54b3c4bc9b
7 changed files with 1085 additions and 0 deletions
81
pyproject.toml
Normal file
81
pyproject.toml
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "htmx-patterns"
|
||||
dynamic = ["version"]
|
||||
description = 'My playground for htmx patterns'
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.8"
|
||||
license = "MIT"
|
||||
keywords = []
|
||||
authors = [
|
||||
{ name = "Waylon S. Walker", email = "waylon@waylonwalker.com" },
|
||||
]
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: Implementation :: CPython",
|
||||
"Programming Language :: Python :: Implementation :: PyPy",
|
||||
]
|
||||
dependencies = []
|
||||
|
||||
[project.urls]
|
||||
Documentation = "https://github.com/unknown/htmx-patterns#readme"
|
||||
Issues = "https://github.com/unknown/htmx-patterns/issues"
|
||||
Source = "https://github.com/unknown/htmx-patterns"
|
||||
|
||||
[tool.hatch.version]
|
||||
path = "htmx_patterns/__about__.py"
|
||||
|
||||
[tool.hatch.envs.default]
|
||||
dependencies = [
|
||||
"coverage[toml]>=6.5",
|
||||
"pytest",
|
||||
]
|
||||
[tool.hatch.envs.default.scripts]
|
||||
test = "pytest {args:tests}"
|
||||
test-cov = "coverage run -m pytest {args:tests}"
|
||||
cov-report = [
|
||||
"- coverage combine",
|
||||
"coverage report",
|
||||
]
|
||||
cov = [
|
||||
"test-cov",
|
||||
"cov-report",
|
||||
]
|
||||
|
||||
[[tool.hatch.envs.all.matrix]]
|
||||
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
|
||||
[tool.hatch.envs.types]
|
||||
dependencies = [
|
||||
"mypy>=1.0.0",
|
||||
]
|
||||
[tool.hatch.envs.types.scripts]
|
||||
check = "mypy --install-types --non-interactive {args:htmx_patterns tests}"
|
||||
|
||||
[tool.coverage.run]
|
||||
source_pkgs = ["htmx_patterns", "tests"]
|
||||
branch = true
|
||||
parallel = true
|
||||
omit = [
|
||||
"htmx_patterns/__about__.py",
|
||||
]
|
||||
|
||||
[tool.coverage.paths]
|
||||
htmx_patterns = ["htmx_patterns", "*/htmx-patterns/htmx_patterns"]
|
||||
tests = ["tests", "*/htmx-patterns/tests"]
|
||||
|
||||
[tool.coverage.report]
|
||||
exclude_lines = [
|
||||
"no cov",
|
||||
"if __name__ == .__main__.:",
|
||||
"if TYPE_CHECKING:",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue