Skip to content

Commit a0f70f4

Browse files
committed
chore: suppress tool warnings
1 parent 9180fb2 commit a0f70f4

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,18 @@ package = "https://pypi.org/project/deeptab/"
7171
# test configuration
7272
[tool.pytest.ini_options]
7373
pythonpath = ["."]
74+
filterwarnings = [
75+
# Lightning trainer noise (dataloader workers, log interval, checkpoint dir, tensorboard)
76+
"ignore::UserWarning:lightning",
77+
# PyTorch transformer / RNN config warnings
78+
"ignore::UserWarning:torch",
79+
# properscoring invalid escape sequences
80+
"ignore::DeprecationWarning:properscoring",
81+
# faiss SwigPy builtin type warnings (emitted during import)
82+
"ignore::DeprecationWarning:importlib",
83+
# delu.nn.Lambda custom-function deprecation
84+
"ignore::DeprecationWarning:delu",
85+
]
7486

7587
# code quality tools
7688
[tool.pyright]

0 commit comments

Comments
 (0)