BoboTiG / python-mss

An ultra fast cross-platform multiple screenshots module in pure Python using ctypes.
https://pypi.org/project/mss/
MIT License
998 stars 88 forks source link

Pytest --strict option is deprecated #213

Closed CTPaHHuK-HEbA closed 2 years ago

CTPaHHuK-HEbA commented 2 years ago

Run pytest

====== warnings summary =============================================================================================== C:\Program Files\Python310\lib\site-packages_pytest\config__init.py:1198 C:\Program Files\Python310\lib\site-packages_pytest\config\init__.py:1198: PytestRemovedIn8Warning: The --strict option is deprecated, use --strict-markers instead.

Need

--- a/setup.cfg
+++ b/setup.cfg
@@ -51,7 +51,7 @@ max-line-length = 120
 [tool:pytest]
 addopts =
     --showlocals
-    --strict
+    --strict-markers
BoboTiG commented 2 years ago

Would you mind opening a PR?

I definitely need to update the CI to use GitHub workflows. Will try to do it in a decent delay.