Skip to content
Closed
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
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"

[tool.pytest.ini_options]
markers = []
filterwarnings = [
# requests <= 2.32.5 emits RequestsDependencyWarning when chardet >= 6 is installed.
# Keep the chardet < 6 pin in requirements.d/development.txt until the upstream fix
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we keep the pin, we don't need to filter the warning.

# in requests is released; suppress the noisy warning during tests in the meantime.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would suspect that if they release a "fixed" requests, there won't be a warning anymore.

"ignore::requests.exceptions.RequestsDependencyWarning",
]

[tool.mypy]
python_version = "3.10"
Expand Down