Skip to content

Commit

Permalink
add typos
Browse files Browse the repository at this point in the history
  • Loading branch information
cleder committed Oct 1, 2024
1 parent 2480842 commit 181e2fe
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ repos:
rev: "1.18.0"
hooks:
- id: blacken-docs
- repo: https://github.com/crate-ci/typos
rev: v1.25.0
hooks:
- id: typos
# - repo: https://github.com/Lucas-C/pre-commit-hooks-markup
# rev: v1.0.1
# hooks:
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ Optional
Limitations
===========

*Tesselate*, *Extrude* and *Altitude Mode* are assigned to a Geometry or
*Tessellate*, *Extrude* and *Altitude Mode* are assigned to a Geometry or
Geometry collection (MultiGeometry). You cannot assign different values of
*Tesselate*, *Extrude* or *Altitude Mode* on parts of a MultiGeometry.
*Tessellate*, *Extrude* or *Altitude Mode* on parts of a MultiGeometry.

Currently, the only major feature missing for the full Google Earth experience
is the `gx extension
Expand Down
6 changes: 6 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[default.extend-words]
lod = "lod"
Lod = "Lod"

[files]
extend-exclude = ["tests/ogc_conformance/data/kml/*.kml"]
2 changes: 1 addition & 1 deletion tests/atom_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def test_atom_contributor_no_name(self) -> None:
assert a.name is None
assert "atom:name" not in a.to_string()

def test_atom_contributor_rountrip(self) -> None:
def test_atom_contributor_roundtrip(self) -> None:
a = atom.Contributor(
ns="{http://www.w3.org/2005/Atom}",
name="Nobody",
Expand Down

0 comments on commit 181e2fe

Please sign in to comment.