You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a library, it's convenient to use requirements.txt to specify dev dependencies and then add a requirement of . or -e . to install the library with setup.py. It would be good if flake8-requirements supported this, rather than defaulting to the requirements from setup.py when both files are present.
The text was updated successfully, but these errors were encountered:
There is no standard name for the so called requirements.txt file.
Also, there is no standard location for such a file. From now, it
will be possible to specify file name/location from command line.
When a command line option with requirements text file is given, it
will disable requirements search in the setup.py and pyproject.toml
files.
Fixes#26 and resolves#33
I've added command line option --requirements-file=FILE which shall be used to specify requirements text file (for more info see README). When specified it will take precedence over setup.py.
In a library, it's convenient to use
requirements.txt
to specify dev dependencies and then add a requirement of.
or-e .
to install the library withsetup.py
. It would be good if flake8-requirements supported this, rather than defaulting to the requirements fromsetup.py
when both files are present.The text was updated successfully, but these errors were encountered: