Skip to content

Commit

Permalink
fix: pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Garee committed Jul 30, 2023
1 parent 9c00ad4 commit 2bb1c37
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/fetch_public_recycling_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def main():
as JSON to file.
"""
args = parse_args()
res = requests.get(MAP_QUERY_URL, PARAMS, headers=HEADERS)
res = requests.get(MAP_QUERY_URL, PARAMS, headers=HEADERS, timeout=60000)
if res.status_code == HTTP_STATUS_OK:
with open(args.out_path, "w", encoding="utf8") as file:
file.write(json.dumps(res.json(), indent=2))
Expand Down
2 changes: 1 addition & 1 deletion scripts/fetch_street_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def download_image(image):
"return_error_code": "true",
"key": API_KEY,
}
res = requests.get(API_URL, params)
res = requests.get(API_URL, params, timeout=60000)
if res.status_code == HTTP_STATUS_OK:
with open(Path(image["path"]), "wb") as file:
file.write(res.content)
Expand Down
2 changes: 2 additions & 0 deletions scripts/plot_plan.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# pylint: disable=use-dict-literal

"""
This script produces a Gantt chart that illustrates the project plan.
"""
Expand Down

0 comments on commit 2bb1c37

Please sign in to comment.