<Description>
make
: To list all commands
- Open a new Terminal and navigate into this folder
- Setup package management, install dependencies, and a Jupyter kernel with:
make install
- Open a new Terminal and navigate into this folder
- Deploy project as Docker container to ECR:
make deploy tag=<project-tag>
Note that deploying the project will also format and lint your code.
make format
: Format code using Black and re-order imports using isort. Formatting is applied to Python files and notebooks insidesrc/
make lint
: Check code using Flake8 to catch logical and stylistic anti-patterns. Linting is applied to Python files and notebooks insidesrc/
This project uses Poetry to create a virtualenv and to manage dependencies. The initial project setup install poetry as a command line tool. Adding dependencies is simply done by using poetry add tensorflow
, which will add the dependency to the pyproject.toml
file and all transient dependencies to poetry.lock
to freeze versions.