-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (62 loc) · 1.54 KB
/
pyproject.toml
File metadata and controls
75 lines (62 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[project]
name = "hastie"
version = "1.3.3"
description = "A static site generator"
authors = [{name = "Marcus Kazmierczak", email = "marcus@mkaz.com"}]
license = {text = "MIT"}
readme = "README.md"
keywords = ["static site generator", "static site", "blog"]
requires-python = ">=3.12"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Content Management System",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup :: Markdown",
]
dependencies = [
"aiofiles>=25.1.0",
"jinja2>=3.1.6",
"markdown>=3.10",
"pygments>=2.19.2",
"python-frontmatter>=1.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.2.2",
"mypy>=1.1.1",
]
[project.scripts]
hastie = "hastie.main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra"
pythonpath = "hastie"
testpaths = [
"tests",
]
[tool.ruff]
target-version = "py313"
[tool.ruff.lint.per-file-ignores]
"tests/test_content.py" = ["E402"]
"tests/test_hfs.py" = ["E402"]
[tool.mypy]
[[tool.mypy.overrides]]
module = [
"markdown",
"frontmatter",
"aiofiles",
]
ignore_missing_imports = true
[dependency-groups]
dev = [
"mypy>=1.18.1",
"pytest>=8.4.2",
]