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

flake8-polyfill setup.cfg is incompatible with pytest versions >= 4.0 #4

Open
sigmavirus24 opened this issue Oct 13, 2021 · 0 comments

Comments

@sigmavirus24
Copy link
Member

In GitLab by @detrout on Mar 1, 2020, 23:57

pytest depreciated using [pytest] in the setup.cfg and requires using [tool:pytest] instead. This was causing debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951977

See the following for the deprecation notice.
https://docs.pytest.org/en/latest/deprecations.html#pytest-section-in-setup-cfg-files

This patch fixes the pytest error.

--- a/setup.cfg
+++ b/setup.cfg
@@ -1,7 +1,7 @@
 [bdist_wheel]
 universal = 1
 
-[pytest]
+[tool:pytest]
 norecursedirs = .git .* *.egg* old docs dist build
 addopts = -rw
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

1 participant