formattage avec Black

This commit is contained in:
SebF 2021-10-10 10:56:13 +02:00
parent 16ed9aa07b
commit 7cfe3d3327

View File

@ -45,7 +45,6 @@ retry_delay = 120
aire_de_recherche = str(3600000000 + 110866) aire_de_recherche = str(3600000000 + 110866)
# ---------------------------------------------- # ----------------------------------------------
trad_bicycle_parking = { trad_bicycle_parking = {
@ -67,15 +66,13 @@ trad_bicycle_parking = {
"rope": "Câble", "rope": "Câble",
"two-tier": "Deux étages", "two-tier": "Deux étages",
"floor": "Sol", "floor": "Sol",
"handlebar_holder": "Accroche-guidons"} "handlebar_holder": "Accroche-guidons",
}
def executer_requete_et_exporter_resultats(
nom_req, critere, aire_de_recherche, overpass_query_fields
):
def executer_requete_et_exporter_resultats(nom_req, critere, aire_de_recherche, overpass_query_fields) :
utils = Utils(overpass_url, geo_api_url, dossier_sauvegarde) utils = Utils(overpass_url, geo_api_url, dossier_sauvegarde)
data = utils.run_overpass_query(critere, aire_de_recherche) data = utils.run_overpass_query(critere, aire_de_recherche)
@ -141,7 +138,6 @@ def executer_requete_et_exporter_resultats(nom_req, critere, aire_de_recherche,
utils.as_ods(overpass_query_fields, data, nom_req) utils.as_ods(overpass_query_fields, data, nom_req)
def main(): def main():
for req in requetes.reqs: for req in requetes.reqs:
@ -167,4 +163,3 @@ def main():
if __name__ == "__main__": if __name__ == "__main__":
main() main()