diff --git a/app/core/parse_web.py b/app/core/parse_web.py index cd5ea52..07dc8dc 100644 --- a/app/core/parse_web.py +++ b/app/core/parse_web.py @@ -21,7 +21,9 @@ def download_gecko_driver() -> None: if not Path(BASE_DIR / 'geckodriver').exists(): logger.info(f'Downloading gecodriver v {GECKO_DRIVER_VERSION}...') - geckodriver_file = wget.download(url=gecko_driver, out=BASE_DIR.resolve().as_posix()) + geckodriver_file = wget.download( + url=gecko_driver, out=BASE_DIR.resolve().as_posix() + ) with tarfile.open(geckodriver_file) as tar: tar.extractall(BASE_DIR) diff --git a/lefthook.yml b/lefthook.yml index 013b19e..5517305 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -20,7 +20,7 @@ pre-push: run: isort --check-only {all_files} black: glob: "*.py" - run: black --check {all_files} + run: black --check -S {all_files} mypy: glob: "*.py" run: mypy {all_files} --namespace-packages @@ -41,10 +41,10 @@ format: run: isort --color --quiet {staged_files} 3_black: glob: "*.py" - run: black {staged_files} + run: black -S {staged_files} 4_black_check: glob: "*.py" - run: black --check {staged_files} + run: black --check -S {staged_files} lint: parallel: true @@ -64,4 +64,4 @@ check-format: run: isort --check-only {staged_files} black: glob: "*.py" - run: black --check {staged_files} + run: black --check -S {staged_files}