Re: [gdal-dev] pre-commit hook failure

2024-06-07 Thread Even Rouault via gdal-dev
Andrew, https://stackoverflow.com/questions/75591296/entrypoints-object-has-no-attribute-get-during-running-pre-commit would suggest that we should perhaps update the flake8 version in .pre-commit-config.yaml at the root of the GDAL source tree. Can you give a try to https://github.com/OSGeo/

[gdal-dev] pre-commit hook failure

2024-06-07 Thread Andrew Bell via gdal-dev
Hi, I'm getting an error when flake8 runs as a pre-commit hook and it won't allow me to commit code. My understanding was that the pre-commit stuff was supposed to make sure the proper versions were found. Ideas? (gdal) [viewshed-oor] $ git commit black