pylint update
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m19s
Run linting on the backend code / Build (pull_request) Failing after 26s
Run testing on the backend code / Build (pull_request) Failing after 1m45s
Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 14s

This commit is contained in:
2024-11-21 13:55:13 +01:00
parent 29a0c715dd
commit a718b883d7
5 changed files with 125 additions and 100 deletions

View File

@@ -3,4 +3,4 @@ detour_corridor_width: 300
average_walking_speed: 4.8
max_landmarks: 10
max_landmarks_refiner: 30
overshoot: 1.15
overshoot: 1.1

View File

@@ -52,7 +52,7 @@ def test_turckheim(client, request):
# Test no. 3
def test_bellecour(client, request) :
duration_minutes = 60
duration_minutes = 50
response = client.post(
"/trip/new",
json={

View File

@@ -278,6 +278,11 @@ class LandmarkManager:
skip = True
break
if "historic" in tag_key and elem.tag('historic') in ['manor', 'optical_telegraph', 'pound', 'shieling', 'wayside_cross']:
# skip useless amenities
skip = True
break
if "name" in tag_key :
score += self.name_bonus