-
Notifications
You must be signed in to change notification settings - Fork 14
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
Provide DevContainer with tests configured #453
Comments
@svrooij I'm not sure what you mean by "not being able to run locally" ?? pip install poetry
cd packageDir
#install the dependencies
poetry install
# run the linting and fix issues
poetry run yapf -ir packageName
# run the unit tests
poetry run pytest Let us know if you have any additional comments or questions. |
This is what I meant... I have no clue about python but this documentation would be useful. Created a devcontainer config that does this and allows your to run all those things from vscode, no integration with the test extensions, but at least you can run the tests locally. |
That's great! feel free to submit it as a separate PR! We could also add those instructions to the contributing document for those who prefer not to use dev containers. |
Trying to make life easier for new contributors to this project by adding a dev container and additional docs Fixed Provide DevContainer with tests configured microsoft#453
When trying to contribute to this project I'm faced with multiple issues (linting, testing, eg.) that I currently cannot run on my local machine.
It would be super useful if there was a devcontainer configuration and some vscode tasks to do the linting and the checking, that is now only don't in the pipeline. This would greatly help other developers that want to contribute to this project.
The text was updated successfully, but these errors were encountered: