correction: format fichers .py

This commit is contained in:
2026-03-30 09:38:26 +02:00
parent 235275cfab
commit fc3f516cdd
3 changed files with 2 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ def main(filename: str | None = None) -> None:
if len(argv) != 2: if len(argv) != 2:
raise ValueError(f"Usage: {argv[0]} <filename.csv>") raise ValueError(f"Usage: {argv[0]} <filename.csv>")
filename = argv[1] filename = argv[1]
cleaning: Cleaning = ( cleaning: Cleaning = (
Cleaning(filename) Cleaning(filename)
.drop_empty_appellation() .drop_empty_appellation()

View File

@@ -62,4 +62,3 @@
# plt.grid(True, linestyle=":", alpha=0.6) # plt.grid(True, linestyle=":", alpha=0.6)
# plt.show() # plt.show()

View File

@@ -496,7 +496,7 @@ def main(filename: str | None = None, suburl: str | None = None) -> None:
raise ValueError(f"Usage: python {argv[0]} <filename> <sous-url>") raise ValueError(f"Usage: python {argv[0]} <filename> <sous-url>")
filename = argv[1] filename = argv[1]
suburl = argv[2] suburl = argv[2]
scraper: Scraper = Scraper() scraper: Scraper = Scraper()
scraper.getvins(suburl, filename) scraper.getvins(suburl, filename)