This fixes #321 by building new docker images when any of the relevant files have changed (not just the ones in the docker/ directory.
Tests will run if either of the images are built which indicates that the code has changed in a way that requires testings. If neither images are built, this means that the testable code has not changed and the tests will not run.
This PR also fixes some errors reported by mypy and ruff while running the tests.
This fixes #321 by building new docker images when any of the relevant files have changed (not just the ones in the
docker/
directory.Tests will run if either of the images are built which indicates that the code has changed in a way that requires testings. If neither images are built, this means that the testable code has not changed and the tests will not run.
This PR also fixes some errors reported by mypy and ruff while running the tests.
Note that this PR does not fix a failing pytest test since there is a discussion about how best to resolve it here: https://github.com/developmentseed/hydraters/issues/7