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

Generate pytestCheckHook input and usage in nativeCheckInputs if you detect a pytest dependency. #193

Open
zmitchell opened this issue Jul 14, 2023 · 0 comments
Labels
enhancement New feature or request python

Comments

@zmitchell
Copy link

I recently used nix-init to package someone else's Python package and it was so, so nice. The only thing that it didn't really generate for me was the need to use pytestCheckHook to run the package's test suite. It seems like it would be possible to parse a requirements.txt or pyproject.toml to look for a pytest dependency and then generate the necessary code to automatically run the package's test suite.

@figsoda figsoda added enhancement New feature or request python labels Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python
Projects
None yet
Development

No branches or pull requests

2 participants