mirror of
https://github.com/guezoloic/millesima-ai-engine.git
synced 2026-03-30 10:46:26 +00:00
correction: format fichers .py
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -62,4 +62,3 @@
|
|||||||
# plt.grid(True, linestyle=":", alpha=0.6)
|
# plt.grid(True, linestyle=":", alpha=0.6)
|
||||||
|
|
||||||
# plt.show()
|
# plt.show()
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user