1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- [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"]
- indent=2
- ignore="H031"
- format_css=true
- format_js=true
-
- [tool.djlint.js]
- indent_size=2
-
- [tool.djlint.css]
- indent_size=2
|