Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ filterwarnings = [
"ignore:co_lnotab is deprecated, use co_lines instead.*:DeprecationWarning:zipline.*",
"ignore::UserWarning:vectorbt", # VectorBT accessor registration warnings
"ignore::FutureWarning:zipline", # Zipline compatibility warnings
# pandas 3.1 Pandas4Warning from exchange_calendars' calendar constructor; pandas attributes
# it to its own module, so the message is what keeps the filter narrow
"ignore:Series.values returning an ndarray that drops timezone:DeprecationWarning:pandas.core.series",
]

[tool.ruff]
Expand Down
2 changes: 1 addition & 1 deletion tests/contracts/test_quality_gates.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_warning_policy_fails_new_warnings_and_has_no_global_suppression() -> No
assert filters[0] == "error"
assert "ignore::DeprecationWarning" not in filters
assert "ignore::PendingDeprecationWarning" not in filters
assert len(filters) <= 5
assert len(filters) <= 6


def test_accounting_tolerance_is_an_exact_ulp_bound() -> None:
Expand Down
Loading