-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 throws warning (Unknown config option: collect_ignore) #608
Comments
I meet the same issue! |
Here is a workaround. Just remove the |
Same issue here with Python 3.8.6, pytest-6.2.1 |
Yep, this seems to have been removed from pytest. The setup.cfg template should be adjusted. |
sbliven
added a commit
to sbliven/cookiecutter-pypackage-noir
that referenced
this issue
Mar 5, 2021
- add black formatting - add mypy check - Add python 3.9 options - customize github_url - Move all requirement lists to setup.py - fix audreyfeldroy#608 (pytest doesn't support collect_ignore option)
Workaround: Remove the
|
6uhrmittag
added a commit
to 6uhrmittag/taskbutler
that referenced
this issue
Sep 13, 2021
- rename test - remove order mark - remove assert_exitcode from test_cli_main_basic because config.ini doesn't exist in CI - fix Warning PytestConfigWarning: Unknown config option: collect_ignore" (audreyfeldroy/cookiecutter-pypackage#608)
6uhrmittag
added a commit
to 6uhrmittag/taskbutler
that referenced
this issue
Sep 13, 2021
- rename test - remove order mark - remove assert_exitcode from test_cli_main_basic because config.ini doesn't exist in CI - fix Warning PytestConfigWarning: Unknown config option: collect_ignore" (audreyfeldroy/cookiecutter-pypackage#608)
amano-takahisa
added a commit
to amano-takahisa/tagstr
that referenced
this issue
Oct 24, 2021
zouzias
added a commit
to zouzias/cookiecutter-pypackage
that referenced
this issue
Aug 22, 2022
Fixes issue audreyfeldroy#608
This was referenced Aug 22, 2022
observingClouds
added a commit
to observingClouds/xbitinfo
that referenced
this issue
Oct 5, 2022
observingClouds
added a commit
to observingClouds/xbitinfo
that referenced
this issue
Oct 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This package is fantastic! Thank you so much for all the hard work on it.
Description
When attempting to run
make test
, pytest throws a warning. It appears to have trouble with this section insetup.cfg
:Which is curious, because
collect_ignore
is an environment variable called out in the pytest documentation.What I Did
Ran a test on my project with:
make test
The text was updated successfully, but these errors were encountered: