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

EXE003 should allow a pytest hashbang? #2233

Closed
spaceone opened this issue Jan 26, 2023 · 4 comments · Fixed by #2237
Closed

EXE003 should allow a pytest hashbang? #2233

spaceone opened this issue Jan 26, 2023 · 4 comments · Fixed by #2237

Comments

@spaceone
Copy link
Contributor

EXE003 complains about the hashbang #!/usr/bin/pytest-3 which is valid.

@charliermarsh
Copy link
Member

Can you link to any relevant docs?

@charliermarsh
Copy link
Member

Happy to change it, would just be nice to have something to link to.

@spaceone
Copy link
Contributor Author

what exactly do you need? the docs at https://docs.pytest.org/ don't mention this or the command line arguments.
https://docs.pytest.org/en/7.2.x/how-to/usage.html is about the invocation but this is not listed.
the paths may also vary between operating systems.

@charliermarsh
Copy link
Member

Yeah not sure what I was expecting. But I'll fix this anyway.

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

Successfully merging a pull request may close this issue.

2 participants