Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pytest --strict option is deprecated #213

Closed
CTPaHHuK-HEbA opened this issue Aug 6, 2022 · 1 comment
Closed

Pytest --strict option is deprecated #213

CTPaHHuK-HEbA opened this issue Aug 6, 2022 · 1 comment

Comments

@CTPaHHuK-HEbA
Copy link
Contributor

CTPaHHuK-HEbA commented Aug 6, 2022

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
Copy link
Owner

BoboTiG commented Aug 7, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants