wenkokke / talondoc

Document your Talon scripts using Sphinx.
https://wen.works/talondoc/
14 stars 7 forks source link

Add devcontainer #120

Closed Nova38 closed 1 year ago

Nova38 commented 1 year ago

Fixes #37

The dev container is based on the universal image that is used for GitHub codespaces. It also has several additional features added to it such as tox, gh-cli, pre\commit, act, and poetry. After it is created it will automatically install the project using poetry and then clone down the submodule.

I was running into an error when I ran make from mypy saying that it couldn't find docutils types and it suggested that to fix it needed this command to be run:

mypy --install-types  

I went ahead and the dev container now also runs that command after setup. I have verified that from a clean rebuild of the container the base make command is working.

wenkokke commented 1 year ago

Merged via #131