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

use of 'pytest' in setup.cfg collides with 'pytest' distutils command #163

Closed
asottile opened this issue Apr 3, 2021 · 1 comment
Closed

Comments

@asottile
Copy link
Member

asottile commented Apr 3, 2021

In GitLab by @wiz on Sep 28, 2016, 24:37

When building flake8 3.0.4 with python-3.5.2 on NetBSD and running the tests, I see the following failure:

running pytest
error: error in setup.cfg: command 'PyTest' has no such option 'norecursedirs'
*** Error code 1

This problem is discussed in more detail in
pytest-dev/pytest#567

The solution is to use [tool:pytest] instead of [pytest] and use pytest 3.0.1 (I think).

@asottile
Copy link
Member Author

asottile commented Apr 3, 2021

In GitLab by @sigmavirus24 on Oct 20, 2018, 10:29

closed

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