diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a170f94306..651dc300da 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,6 +23,23 @@ repos: .*\.kate-swp$| .*\.svg$ ) + - id: check-case-conflict + # - id: check-executables-have-shebangs # Nice to have once fixes applied + - id: check-json + - id: check-merge-conflict + # - id: check-shebang-scripts-are-executable # Nice to have once fixes applied + - id: check-symlinks + - id: check-toml + - id: check-vcs-permalinks + - id: check-xml + exclude: | + (?x)^( + src/gui/wxpython/wx.metadata/profiles/basicProfile.xml| + src/gui/wxpython/wx.metadata/profiles/inspireProfile.xml| + src/gui/wxpython/wx.metadata/profiles/temporalProfile.xml + ) + - id: destroyed-symlinks + - id: detect-private-key - repo: https://github.com/igorshubovych/markdownlint-cli rev: v0.42.0 hooks: diff --git a/src/imagery/i.eodag/i.eodag.py b/src/imagery/i.eodag/i.eodag.py index a78afd7999..b919bbd2cd 100755 --- a/src/imagery/i.eodag/i.eodag.py +++ b/src/imagery/i.eodag/i.eodag.py @@ -364,7 +364,7 @@ def get_aoi(vector=None): ) # TODO: Might need to check for number of coordinates # Make sure it won't cause problems like in: - # https://github.com/OSGeo/grass-addons/blob/grass8/src/imagery/i.sentinel/i.sentinel.download/i.sentinel.download.py#L273 + # https://github.com/OSGeo/grass-addons/blob/8eb244b8f229d668ed5306ed9f18f3b0b08c1e45/src/imagery/i.sentinel/i.sentinel.download/i.sentinel.download.py#L273 # As for now, EODAG takes care of the Polygon simplification if needed feature_type = geom[: geom.find("(")] coords = geom.replace(feature_type + "((", "").replace("))", "").split(", ")