di / pytest-reqs

py.test plugin for checking requirements files
https://pypi.org/p/pytest-reqs
MIT License
25 stars 6 forks source link

Add ability to override filename patterns #7

Closed di closed 7 years ago

di commented 7 years ago

This would be a field such as reqsfilenamepatterns in the [pytest] section which would allow the user to override the filename patterns being searched for by pytest-reqs.

For example, the current default configuration would be something like:

[pytest]
reqsfilenamepatterns =
    req*.txt
    req*.pip
    requirements/*.txt
    requirements/*.pip