linting
This commit is contained in:
parent
96f0c3a313
commit
1e38ce04c9
@ -13,9 +13,19 @@ MAX_DISTANCE = 20_037.5
|
|||||||
|
|
||||||
# Add argparse
|
# Add argparse
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument("-c", "--country", help="Specify the country code", type=str, default="US")
|
parser.add_argument(
|
||||||
parser.add_argument("-w", "--workers", help="Specify the number of workers", type=int, default=1)
|
"-c", "--country", help="Specify the country code", type=str, default="US"
|
||||||
parser.add_argument("-o", "--output-file", help="Specify the name of the output file (file.csv)", type=str, default="city_distances_full.csv")
|
)
|
||||||
|
parser.add_argument(
|
||||||
|
"-w", "--workers", help="Specify the number of workers", type=int, default=1
|
||||||
|
)
|
||||||
|
parser.add_argument(
|
||||||
|
"-o",
|
||||||
|
"--output-file",
|
||||||
|
help="Specify the name of the output file (file.csv)",
|
||||||
|
type=str,
|
||||||
|
default="city_distances_full.csv",
|
||||||
|
)
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user