mirror of https://github.com/scrapy/scrapy.git
Improve the filtering of --no-cov warnings
This commit is contained in:
parent
daff5abef7
commit
3c4c868d3d
|
|
@ -381,8 +381,10 @@ filterwarnings = [
|
|||
"ignore:Core Pydantic V1 functionality isn't compatible:UserWarning",
|
||||
# pyftpdlib imports asynchat, removed in Python 3.12, on lower versions.
|
||||
"ignore:The async(hat|ore) module is deprecated:DeprecationWarning",
|
||||
# CI runs without coverage pass --no-cov, which pytest-cov reports.
|
||||
"ignore::pytest_cov.CovDisabledWarning",
|
||||
# CI runs without coverage pass --no-cov, which pytest-cov reports. Matched
|
||||
# by message because some tox envs do not install pytest-cov, and pytest
|
||||
# warns when a filter names a module it cannot import.
|
||||
"ignore:Coverage disabled via --no-cov switch!",
|
||||
]
|
||||
|
||||
[tool.ruff.lint]
|
||||
|
|
|
|||
Loading…
Reference in New Issue