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

Request: --requirements-file to support setup.py #68

Closed
jamesbraza opened this issue Dec 1, 2022 · 1 comment
Closed

Request: --requirements-file to support setup.py #68

jamesbraza opened this issue Dec 1, 2022 · 1 comment

Comments

@jamesbraza
Copy link
Contributor

I think it would be useful if --requirements-file could support setup.py. It seems that currently flake8-requirements assumes the requirements come from a requirements.txt.

Use case is a monorepo with:

  • setup.cfg containing known-modules in the directory where flake8 is being invoked
  • setup.py containing requirements in another directory

Thank you in advance for entertaining this request 😃

@jamesbraza
Copy link
Contributor Author

I am not sure why I opened this, but setup.py is supported: https://github.com/arkq/flake8-requirements/blob/v1.7.2/src/flake8_requirements/checker.py#L651

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