The Python MWE.
Well, clients.
Code for the server
Shared stuff, like types and base classes
- 3.8 or newer
- Install
mypy
- Install
mypy
langserver on your editor (hopefully VSCode)
make init
make run
mypy
makes stuff type-safe. Try installing it and breaking some types. If you set up your editor properly to use the language server, it should redline upon save. Otherwise, runmypy .
(This will be the command run by the C.I.)- Python modules are known to be wonky (hence the
sys.path.append
stuff at some files requiring imports in parent directories). The workaround is ugly, but fine. - Honestly, Python is easy to set up and easy to learn (if you don't know it)
- There are problems with coding it with 40+ people, but if the
BaseClient
has strongly enforced types, you shouldn't be able to merge stuff with failing types :-)