Minor fixes to boilerplate following usage
Following using the boilerplate to uplift the Photo API in https://gitlab.developers.cam.ac.uk/uis/devops/iam/card-database/photo-api/-/issues/141 there are a couple of backportable fixes that should be introduced to the boilerplate:
- Don't scan python files with
editorconfig
pre-commit checks, python file format is covered byflake8
,black
, andisort
. In particular,flake8
respects suppressions of e.g. line above maximum length, which theeditorconfig
will not. - Update the poetry version used by the
poetry-check
pre-commit hook - this is still on v1 and causes failures on any project using poetry v2. New projects will use v2 - as the Dockerfile doesn't pin the version installed.