-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (76 loc) · 2.66 KB
/
pyproject.toml
File metadata and controls
88 lines (76 loc) · 2.66 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
76
77
78
79
80
81
82
83
84
85
86
87
88
[tool.poetry]
name = "blurry-cli"
version = "0.22.3"
description = "A Mistune-based static site generator for Python"
authors = ["John Franey <franey@duck.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/blurry-dev/blurry"
keywords = ["static-site-generator", "seo", "pagespeed"]
classifiers = [
"Environment :: Console",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"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 :: HTML",
"Topic :: Text Processing :: Markup :: Markdown",
]
include = ["LICENSE"]
packages = [{ include = "blurry" }]
[tool.poetry.dependencies]
Jinja2 = "^3.1.5"
PyLD = "^2.0.4"
livereload = "^2.7.1"
mistune = "^3.1.0"
python = "^3.11"
rich = ">=13.9.4,<15.0.0"
selectolax = ">=0.3.27,<0.5.0"
typer = ">=0.15.1,<0.22.0"
htmlmin2 = "^0.1.13"
dpath = "^2.2.0"
jinja2-simple-tags = "^0.6.1"
jinjax = ">=0.48,<0.64"
pydantic = "^2.10.5"
pillow = "^12.0.0"
pymediainfo = "^7.0.1"
[tool.poetry.scripts]
blurry = 'blurry:main'
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = ">=24.10,<27.0"
nox = ">=2024.10.9,<2026.0.0"
pyright = "^1.1.391"
pytest = ">=8.3.4,<10.0.0"
pytest-cov = ">=6,<8"
ruff = ">=0.8.6,<0.16.0"
pytest-watcher = ">=0.4.3,<0.7.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pyright]
include = ["blurry/**"]
exclude = ["**/node_modules", "**/__pycache__", "**/.*", "blurry/tests"]
[tool.pytest-watcher]
now = true
runner = "pytest"
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.poetry.plugins."blurry.html_plugins"]
minify_html = 'blurry.plugins.html_plugins.minify_html_plugin:minify_html'
[tool.poetry.plugins."blurry.markdown_plugins"]
python_code = 'blurry.plugins.markdown_plugins.python_code_plugin:python_code'
python_code_in_list = 'blurry.plugins.markdown_plugins.python_code_plugin:python_code_in_list'
punctuation = 'blurry.plugins.markdown_plugins.punctuation_plugin:punctuation'
container = 'blurry.plugins.markdown_plugins.container_plugin:container'
[tool.poetry.plugins."blurry.jinja_extensions"]
blurry_image = "blurry.plugins.jinja_plugins.blurry_image_extension:BlurryImage"
[tool.poetry.plugins."blurry.jinja_filter_plugins"]
url_path = "blurry.plugins.jinja_plugins.filters:url_path"
headings = "blurry.plugins.jinja_plugins.filters:headings"