Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/imagery/i.eodag/i.eodag.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(", ")
Expand Down
Loading