Skip to content

Commit ddc9c47

Browse files
peitilinvkelsopre-commit-ci[bot]
authored
Update flake8 precommit hook (#2113)
* Update flake8 precommit hook * updated tests for OSM data drift Co-authored-by: Nathaniel Kelso <nvkelso@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent e69572c commit ddc9c47

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
rev: v0.0.11
2929
hooks:
3030
- id: yesqa
31-
- repo: https://gitlab.com/pycqa/flake8
31+
- repo: https://github.com/PyCQA/flake8
3232
rev: 3.9.2
3333
hooks:
3434
- id: flake8

integration-test/1425-osm-features.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ def test_shops(self):
3131
self._run_poi_test(
3232
'http://www.openstreetmap.org/node/3579507084',
3333
'16/19295/24633', {'kind': 'shoes'})
34-
self._run_poi_test(
35-
'http://www.openstreetmap.org/node/5101131722',
36-
'16/19295/24640', {'kind': 'stationery'})
34+
# self._run_poi_test(
35+
# 'http://www.openstreetmap.org/node/5101131722',
36+
# '16/19295/24640', {'kind': 'stationery'})
3737
self._run_poi_test(
3838
'http://www.openstreetmap.org/node/6262432208',
3939
'16/19295/24641', {'kind': 'tobacco'})
@@ -106,10 +106,10 @@ def test_wetland(self):
106106
'http://www.openstreetmap.org/way/396249564',
107107
'16/19310/24621', 'landuse',
108108
{'kind': 'wetland', 'kind_detail': 'saltmarsh'})
109-
self._run_test(
110-
'http://www.openstreetmap.org/way/257640900',
111-
'16/19318/24656', 'landuse',
112-
{'kind': 'wetland', 'kind_detail': 'tidalflat'})
109+
# self._run_test(
110+
# 'http://www.openstreetmap.org/way/257640900',
111+
# '16/19318/24656', 'landuse',
112+
# {'kind': 'wetland', 'kind_detail': 'tidalflat'})
113113

114114
def test_grave_yards(self):
115115
self._run_test(
@@ -135,9 +135,9 @@ def test_grave_yards(self):
135135
'denomination': 'reformed'})
136136

137137
def test_wood_leaf_type(self):
138-
self._run_test(
139-
'http://www.openstreetmap.org/way/19174535',
140-
'16/19310/24600', 'landuse', {'kind': 'natural_wood'})
138+
# self._run_test(
139+
# 'http://www.openstreetmap.org/way/19174535',
140+
# '16/19310/24600', 'landuse', {'kind': 'natural_wood'})
141141
self._run_test(
142142
'http://www.openstreetmap.org/way/429020668',
143143
'16/19308/24610', 'landuse',

integration-test/374-electronics-shops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_yet_another_best_buy(self):
2121
def test_apple_store(self):
2222
self._run_test(
2323
'https://www.openstreetmap.org/way/332223480',
24-
16, 10484, 25327, 'Apple Store Union Square')
24+
16, 10484, 25327, 'Apple Union Square')
2525

2626
def _run_test(self, url, z, x, y, name):
2727
self.load_fixtures([url])

integration-test/440-zoos-and-other-attractions-attraction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def test_attractions(self):
66
# Sable Island Horse
77
self._run_test(16, 21228, 23551, 342984911, 'animal')
88
# Fun Mountain Water Park
9-
self._run_test(16, 15113, 22273, 243814268, 'water_slide')
9+
self._run_test(16, 15113, 22273, 243814268, 'water_park')
1010
# Woodstock Express
1111
self._run_test(16, 18670, 25315, 235396958, 'roller_coaster')
1212
# Carousel

0 commit comments

Comments
 (0)