Skip to content

Commit

Permalink
Merge pull request #322 from cleder/316-refactor-geometry-coordinates…
Browse files Browse the repository at this point in the history
…-to-be-its-own-object

316 refactor geometry coordinates to be its own object
  • Loading branch information
cleder authored May 12, 2024
2 parents cdcb155 + 8c889a9 commit c08080e
Show file tree
Hide file tree
Showing 13 changed files with 759 additions and 530 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
hooks:
- id: pyprojectsort
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.16
rev: v0.17
hooks:
- id: validate-pyproject
- repo: https://github.com/ikamensh/flynt/
Expand All @@ -50,7 +50,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.4.3'
rev: 'v0.4.4'
hooks:
- id: ruff
- repo: https://github.com/PyCQA/flake8
Expand Down
5 changes: 5 additions & 0 deletions fastkml/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ class KMLWriteError(FastKMLError):

class KMLSchemaError(FastKMLError):
"""Raised when there is an error with the KML Schema."""


# geometry and kml_coordinates are mutually exclusive
class GeometryError(FastKMLError):
"""Raised when there is an error with the geometry."""
Loading

0 comments on commit c08080e

Please sign in to comment.