Skip to content

Commit

Permalink
fix: bump black version due to click dependency issue (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
adlersantos committed Mar 30, 2022
1 parent 4849ec7 commit cac6f18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-lint.yaml
Expand Up @@ -12,8 +12,8 @@ jobs:
python -m pip install flake8 isort nbqa
- uses: psf/black@stable
with:
args: ". --check"
version: "21.5b1"
options: "--check"
version: "22.3.0"
- name: Run Flake8 Linter
run: flake8
- name: Run isort
Expand Down
Expand Up @@ -124,7 +124,7 @@ def save_to_new_file(df: pd.DataFrame, file_path: str, table_name: str) -> None:
def upload_file_to_gcs(file_path: pathlib.Path, gcs_bucket: str, gcs_path: str) -> None:
storage_client = storage.Client()
bucket = storage_client.bucket(gcs_bucket)
blob = bucket.blob(gcs_path, chunk_size=1000 * (2 ** 18))
blob = bucket.blob(gcs_path, chunk_size=1000 * pow(2, 18))
blob.upload_from_filename(file_path)


Expand Down

0 comments on commit cac6f18

Please sign in to comment.