-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (44 loc) · 838 Bytes
/
pyproject.toml
File metadata and controls
51 lines (44 loc) · 838 Bytes
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "le-blog"
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"jinja2",
"minicli",
"mistune",
"python-frontmatter",
"python-slugify",
]
[project.optional-dependencies]
dev = [
"black",
"blinker",
"djlint",
"hatch",
"pip-tools",
"ruff",
]
[tool.hatch.version]
path = "generator.py"
[tool.ruff]
select = ["E", "F", "I", "W", "PTH", "RUF"]
fixable = ["I"]
# Espace insecable (guillemets) + fine insecable (ponctuation double, chiffres)
# + vraie apostrophe.
allowed-confusables = [" ", " ", "’"]
show-source = true
[tool.djlint]
profile="jinja"
files=["templates"]
indent=2
ignore="H031"
format_css=true
format_js=true
[tool.djlint.js]
indent_size=2
[tool.djlint.css]
indent_size=2