Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. [build-system]
  2. requires = ["hatchling"]
  3. build-backend = "hatchling.build"
  4. [project]
  5. name = "larlet-fr-david"
  6. dynamic = ["version"]
  7. readme = "README.md"
  8. requires-python = ">=3.8"
  9. dependencies = [
  10. "feedparser",
  11. "Jinja2",
  12. "minicli",
  13. "mistune",
  14. "Pillow",
  15. "python-slugify",
  16. "regex",
  17. ]
  18. [project.optional-dependencies]
  19. dev = [
  20. "black",
  21. "blinker",
  22. "djlint",
  23. "hatch",
  24. "pip-tools",
  25. "ruff",
  26. ]
  27. [tool.hatch.version]
  28. path = "site.py"
  29. [tool.ruff]
  30. select = ["E", "F", "I", "W", "PTH", "RUF"]
  31. fixable = ["I"]
  32. # Espace insecable (guillemets) + fine insecable (ponctuation double, chiffres)
  33. # + vraie apostrophe.
  34. allowed-confusables = [" ", " ", "’"]
  35. show-source = true
  36. [tool.djlint]
  37. profile="jinja"
  38. files=[
  39. "david/templates/article_2020.html",
  40. "david/templates/blogroll.html",
  41. "david/templates/base_2020.html",
  42. "david/templates/profil.html",
  43. "david/templates/recherche.html",
  44. "david/templates/tag_2021.html"
  45. ]
  46. indent=2
  47. ignore="H031"
  48. format_css=true
  49. format_js=true
  50. [tool.djlint.js]
  51. indent_size=2
  52. [tool.djlint.css]
  53. indent_size=2