Skip to content

Commit

Permalink
Merge pull request #19 from hotosm/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
robsavoye authored Jan 4, 2024
2 parents d10856e + 898bc78 commit b871c05
Show file tree
Hide file tree
Showing 5 changed files with 25,252 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ repos:

# Autoformat: Python code
- repo: https://github.com/psf/black
rev: 23.11.0
rev: 23.12.1
hooks:
- id: black

# Lint / autoformat: Python code
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: "v0.1.6"
rev: "v0.1.9"
hooks:
- id: ruff
args: [--exit-non-zero-on-fix]

# Autoformat: YAML, JSON, Markdown, etc.
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
rev: v4.0.0-alpha.8
hooks:
- id: prettier
args:
Expand All @@ -35,7 +35,7 @@ repos:
]
# Lint: Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.37.0
rev: v0.38.0
hooks:
- id: markdownlint
args: [--fix, --ignore, CHANGELOG.md, --ignore, LICENSE.md]
22 changes: 21 additions & 1 deletion tests/testdata/kathmandu.geojson
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"coordinates":[[[85.29998911024427,27.714008043780694],[85.29998911024427,27.710892349952076],[85.30478315714117,27.710892349952076],[85.30478315714117,27.714008043780694],[85.29998911024427,27.714008043780694]]],"type":"Polygon"}}]}
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[85.29998911024427, 27.714008043780694],
[85.29998911024427, 27.710892349952076],
[85.30478315714117, 27.710892349952076],
[85.30478315714117, 27.714008043780694],
[85.29998911024427, 27.714008043780694]
]
],
"type": "Polygon"
}
}
]
}
16,124 changes: 16,123 additions & 1 deletion tests/testdata/kathmandu_extract.geojson

Large diffs are not rendered by default.

9,036 changes: 9,035 additions & 1 deletion tests/testdata/kathmandu_processed.geojson

Large diffs are not rendered by default.

70 changes: 69 additions & 1 deletion tests/testdata/kathmandu_split.geojson
Original file line number Diff line number Diff line change
@@ -1 +1,69 @@
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"coordinates":[[[85.300186399724,27.713725841936977],[85.300186399724,27.71283328940062],[85.30138483597665,27.71283328940062],[85.30138483597665,27.713725841936977],[85.300186399724,27.713725841936977]]],"type":"Polygon"}},{"type":"Feature","properties":{},"geometry":{"coordinates":[[[85.3010043800241,27.71263962137614],[85.3010043800241,27.711065003372966],[85.30201258830039,27.711065003372966],[85.30201258830039,27.71263962137614],[85.3010043800241,27.71263962137614]]],"type":"Polygon"}},{"type":"Feature","properties":{},"geometry":{"coordinates":[[[85.30260229373602,27.713725844769442],[85.30260229373602,27.711814426165176],[85.30462822168806,27.711814426165176],[85.30462822168806,27.713725844769442],[85.30260229373602,27.713725844769442]]],"type":"Polygon"}},{"type":"Feature","properties":{},"geometry":{"coordinates":[[[85.3027830103128,27.711688119791205],[85.3027830103128,27.711031324289777],[85.30457115329506,27.711031324289777],[85.30457115329506,27.711688119791205],[85.3027830103128,27.711688119791205]]],"type":"Polygon"}}]}
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[85.300186399724, 27.713725841936977],
[85.300186399724, 27.71283328940062],
[85.30138483597665, 27.71283328940062],
[85.30138483597665, 27.713725841936977],
[85.300186399724, 27.713725841936977]
]
],
"type": "Polygon"
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[85.3010043800241, 27.71263962137614],
[85.3010043800241, 27.711065003372966],
[85.30201258830039, 27.711065003372966],
[85.30201258830039, 27.71263962137614],
[85.3010043800241, 27.71263962137614]
]
],
"type": "Polygon"
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[85.30260229373602, 27.713725844769442],
[85.30260229373602, 27.711814426165176],
[85.30462822168806, 27.711814426165176],
[85.30462822168806, 27.713725844769442],
[85.30260229373602, 27.713725844769442]
]
],
"type": "Polygon"
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[85.3027830103128, 27.711688119791205],
[85.3027830103128, 27.711031324289777],
[85.30457115329506, 27.711031324289777],
[85.30457115329506, 27.711688119791205],
[85.3027830103128, 27.711688119791205]
]
],
"type": "Polygon"
}
}
]
}

0 comments on commit b871c05

Please sign in to comment.