-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
part:pytestAffects the configuration of pytestAffects the configuration of pytestpart:templateAffects the cookiecutter template filesAffects the cookiecutter template filestype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Milestone
Description
What's needed?
We need to easily filter out protobuf version warnings.
Proposed solution
[tool.pytest.ini_options]
addopts = "-vv"
filterwarnings = [
"error",
"once::DeprecationWarning",
"once::PendingDeprecationWarning",
# We use a raw string (single quote) to avoid the need to escape special
# chars as this is a regex
'ignore:Protobuf gencode version .*exactly one major version older.*:UserWarning',
]Additional context
Metadata
Metadata
Assignees
Labels
part:pytestAffects the configuration of pytestAffects the configuration of pytestpart:templateAffects the cookiecutter template filesAffects the cookiecutter template filestype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users