🐛 Make project setup more restrictive Add black settings

This commit is contained in:
Ruben Lucas 2025-03-28 13:47:08 +01:00
parent d37012f780
commit cfcaf84f2d

View File

@ -3,7 +3,7 @@ name = "Sogeti-generic-RAG-demo"
version = "0.1.0"
description = "A Sogeti generic RAG demo"
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.12,<3.13"
dependencies = [
"beautifulsoup4>=4.13.3",
"chainlit>=2.3.0",
@ -25,8 +25,10 @@ dependencies = [
]
[tool.setuptools]
packages = ["."]
exclude = ["data"]
packages = ["generic_rag"]
[tool.setuptools.exclude-package-data]
generic_rag = ["data"]
[tool.ruff]
line-length = 120
@ -37,7 +39,11 @@ skip-magic-trailing-comma = true
line-ending = "auto"
docstring-code-format = false
[tool.black]
line-length = 120
[dependency-groups]
dev = [
"ruff>=0.11.0",
"black>=22.0",
]