Skip to content

Commit

Permalink
ignore warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier committed Oct 16, 2023
1 parent a98d7e0 commit 619c4c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,15 @@ ignore = ["E501"]

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-rfEX --tb=short -Werror"
addopts = "-rfEX --tb=short"
testpaths = [
"tests",
]
filterwarnings = [
"error",
# FIXME: find a way to use the BaseSettings from pydantic-settings with ConfigDict
"ignore:Support for class-based `config` is deprecated:pydantic.warnings.PydanticDeprecatedSince20",
]
xfail_strict = true

[tool.mypy]
Expand Down
2 changes: 0 additions & 2 deletions ragna/core/_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations

import secrets

from pathlib import Path
from typing import Union

Expand All @@ -13,7 +12,6 @@

from ._components import Assistant, SourceStorage
from ._document import Document

from ._utils import RagnaException


Expand Down

0 comments on commit 619c4c5

Please sign in to comment.