-
Notifications
You must be signed in to change notification settings - Fork 30
/
pyproject.toml
69 lines (56 loc) · 1.46 KB
/
pyproject.toml
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
[tool.poetry]
name = "hastie"
version = "1.0.0-b3"
description = "A static site generator"
authors = ["Marcus Kazmierczak <[email protected]>"]
license = "MIT"
readme = "README.md"
keywords = ["static site generator", "static site", "blog"]
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",
]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
jinja2 = "^3.1.2"
markdown = "^3.4.3"
pygments = "^2.14.0"
python-frontmatter = "^1.0.0"
toml = "^0.10.2"
sysrsync = "^1.1.0"
[tool.poetry.group.dev.dependencies]
black = "^23.1.0"
flake8 = "^6.0.0"
pytest = "^7.2.2"
mypy = "^1.1.1"
[tool.poetry.scripts]
hastie = 'hastie.main:main'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra"
pythonpath = "hastie"
testpaths = [
"tests",
]
[tool.ruff]
target-version = "py310"
[tool.ruff.per-file-ignores]
"tests/test_content.py" = ["E402"]
"tests/test_hfs.py" = ["E402"]
[tool.mypy]
[[tool.mypy.overrides]]
module = [
"markdown",
"toml"
]
ignore_missing_imports = true