I think there are some small steps to be made to enable this repository to be easier to work with, including:
[x] - Add a /workers directory to group the Azure functions together, including their dependencies.
[x] - Add .vscode workspaces to enable Python environments to be separate (functions and Django). Including launch.json files for the functions/webapp.
[x] - Use Poetry for dependencies, with versioning (currently very few of the dependencies are pinned to a version), and pyproject.toml. This repo is too big to use a simple requirements.txt (we'd get Poetry to output a requirements.txt in CI)
I think there are some small steps to be made to enable this repository to be easier to work with, including:
/workers
directory to group the Azure functions together, including their dependencies..vscode
workspaces to enable Python environments to be separate (functions and Django). Includinglaunch.json
files for the functions/webapp.pyproject.toml
. This repo is too big to use a simplerequirements.txt
(we'd get Poetry to output arequirements.txt
in CI)pre-commit
for linting, formatting, and typing - here's a simple config we used on Ai4Green: https://github.com/AI4Green/AI4Green/blob/main/.pre-commit-config.yaml can also include #543I'd be happy to make a PR to cover all of this, but open for discussion on any of the points, and any additional ideas.