It should have install-dev
target, which installs all dependencies locally.
make install-dev
It should have test
target, which runs all tests locally.
make test
It should have set-version
target, which sets ${version}
of your service.
make set-version
which can be implemented as:
echo "__version__ = '${version}'" > app_dir/version.py
or
pip install poetry
poetry version ${version}
app_dir/schema
directory should contain your client code.__version__
variable fromapp_dir/version.py
file should be used as a client version.
.pre-commit-config.yaml
file should be presented in the root of your repository.