Skip to content

Commit

Permalink
Ignore line too long on API/CSV URLs variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Tina-otoge committed Oct 2, 2024
1 parent 1486ffb commit 462b92b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/services/gps.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ def populate_departments():


def populate_countries():
COUNTRIES_URL = "https://gist.github.com/metal3d/5b925077e66194551df949de64e910f6/raw/c5f20a037409d96958553e2eb6b8251265c6fd63/country-coord.csv"
COUNTRIES_ISO_TO_FRENCH_URL = "https://gist.github.com/lneveu/cdb444b0e609ed81d3ad1f5907cda6f8/raw/8ad6e298e55284b074dcd716da2d3b25904c29f8/iso-3166_country_french.json"
COUNTRIES_URL = "https://gist.github.com/metal3d/5b925077e66194551df949de64e910f6/raw/c5f20a037409d96958553e2eb6b8251265c6fd63/country-coord.csv" # noqa
COUNTRIES_ISO_TO_FRENCH_URL = "https://gist.github.com/lneveu/cdb444b0e609ed81d3ad1f5907cda6f8/raw/8ad6e298e55284b074dcd716da2d3b25904c29f8/iso-3166_country_french.json" # noqa

countries = requests.get(COUNTRIES_URL)
countries.raise_for_status()
Expand Down

0 comments on commit 462b92b

Please sign in to comment.