123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- [build-system]
- requires = ["hatchling"]
- build-backend = "hatchling.build"
-
- [project]
- name = "larlet-fr-david"
- dynamic = ["version"]
- readme = "README.md"
- requires-python = ">=3.8"
- dependencies = [
- "feedparser",
- "Jinja2",
- "minicli",
- "mistune",
- "Pillow",
- "python-slugify",
- "regex",
- ]
-
- [project.optional-dependencies]
- dev = [
- "black",
- "blinker",
- "djlint",
- "hatch",
- "pip-tools",
- "ruff",
- ]
-
- [tool.hatch.version]
- path = "site.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=[
- "david/templates/article_2020.html",
- "david/templates/blogroll.html",
- "david/templates/base_2020.html",
- "david/templates/profil.html",
- "david/templates/recherche.html",
- "david/templates/tag_2021.html"
- ]
- indent=2
- ignore="H031"
- format_css=true
- format_js=true
-
- [tool.djlint.js]
- indent_size=2
-
- [tool.djlint.css]
- indent_size=2
|