[build-system] requires = ["setuptools>=42", "wheel"] build-backend = "setuptools.build_meta" [project] name = "lettucedetect" version = "0.1.6" description = "Lettucedetect is a framework for detecting hallucinations in RAG applications." readme = {file = "README.md", content-type = "text/markdown"} requires-python = ">=3.10" license = {text = "MIT"} authors = [ {name = "Adam Kovacs", email = "kovacs@krlabs.eu"}, ] classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ] dependencies = [ #"torch>=2.6.0", "transformers>=4.48.3", "tqdm>=4.65.0", "scikit-learn>=1.6.1", #"numpy>=2.2.2", ] [project.urls] Homepage = "https://github.com/krlabsorg/lettucedetect" [project.optional-dependencies] dev = [ "pytest>=7.0.0", "pytest-cov>=4.0.0", "ruff>=0.0.270", ] [tool.setuptools] packages = ["lettucedetect"] [tool.pytest] testpaths = ["tests"] python_files = "test_*_pytest.py" [tool.ruff] line-length = 100 [tool.ruff.lint] # https://docs.astral.sh/ruff/rules/ select = [ "E", # flake8 "F", # pyflakes "I", # isort "C90", # mccabe "D", # pydocstyle "ANN", # type annotations "S", # bandit "EXE", # flake8 executable "PTH", # use pathlib "RUF", # ruff rules ] ignore = [ "E501", # line length "D100", # module docstring "D104", # missing docstring in public package "D203", # blank line required before class "D211", # no blank line before class "D213", # multi line summary second line "ANN003", # **kwargs annotation "ANN204", # missing return type for __init__ "PTH123", # path.open ]