My monorepo for various tools and showcases
Run VScode task called Install requirements
or alternatively run sh .vscode/install_requirements.sh
or alternatively run poetry install
in the python projects or npm install
in the frontend projects.
Open the Command Palette and Workspaces: Add Folder to Workspace...
and select the folders you want to edit.
Now set up the correct interpreter path (may have to navigate the absolute path, on linux that is ~/.cache/pypoetry/virtualenvs/...
). The running the command poetry env info --path
in each project shows where the environment was installed to.
TODO
To avoid packages with large packages, we can use pipdeptree
poetry run pipdeptree > deps.txt
poetry run pre-commit install
poetry run pre-commit run --all-files --verbose --hook-stage push
This runs pylint, mypy, pytest tests, apply autoformatter yapf
earthly +format
Convert JSON API response to types Convert curl to python requests