Skip to content

Commit

Permalink
chore: excluded _chainlit.py from pytest collection.
Browse files Browse the repository at this point in the history
  • Loading branch information
rchretien committed Feb 26, 2025
1 parent d689440 commit f22f22e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies = [
"wtpsplit-lite (>=0.1.0)",
# Large Language Models:
"huggingface-hub (>=0.22.0)",
"litellm (>=1.48.4)",
"litellm (>=1.57.8)",
"llama-cpp-python (>=0.3.2)",
"pydantic (>=2.7.0)",
# Approximate Nearest Neighbors:
Expand Down Expand Up @@ -85,7 +85,7 @@ version_provider = "pep621"

[project.optional-dependencies]
# Frontend:
chainlit = ["chainlit (>=1.2.0)"]
chainlit = ["chainlit (>=2.0.0)"]
# Evaluation:
ragas = ["ragas (>=0.1.12)"]
# Markdown conversion:
Expand Down Expand Up @@ -119,7 +119,7 @@ show_error_context = true
warn_unreachable = true

[tool.pytest.ini_options] # https://docs.pytest.org/en/latest/reference/reference.html#ini-options-ref
addopts = "--color=yes --doctest-modules --exitfirst --failed-first --strict-config --strict-markers --verbosity=2 --junitxml=reports/pytest.xml"
addopts = "--color=yes --doctest-modules --ignore=src/raglite/_chainlit.py --exitfirst --failed-first --strict-config --strict-markers --verbosity=2 --junitxml=reports/pytest.xml"
filterwarnings = ["error", "ignore::DeprecationWarning", "ignore::pytest.PytestUnraisableExceptionWarning"]
testpaths = ["src", "tests"]
xfail_strict = true
Expand Down
29 changes: 15 additions & 14 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f22f22e

Please sign in to comment.