chore: deprecate tox in favor of act (#29382)

This commit is contained in:
Maxime Beauchemin
2024-11-26 13:27:37 -08:00
committed by GitHub
parent 68499a1199
commit fd9d3301f6
10 changed files with 152 additions and 289 deletions

View File

@@ -66,9 +66,8 @@ def upload_to_s3(filename: str, upload_prefix: str, table: Table) -> str:
:returns: The S3 location of the table
"""
# pylint: disable=import-outside-toplevel
import boto3
from boto3.s3.transfer import TransferConfig
import boto3 # pylint: disable=all
from boto3.s3.transfer import TransferConfig # pylint: disable=all
bucket_path = current_app.config["CSV_TO_HIVE_UPLOAD_S3_BUCKET"]
@@ -474,7 +473,7 @@ class HiveEngineSpec(PrestoEngineSpec):
return None
@classmethod
def _partition_query( # pylint: disable=too-many-arguments
def _partition_query( # pylint: disable=all
cls,
table: Table,
indexes: list[dict[str, Any]],
@@ -489,7 +488,7 @@ class HiveEngineSpec(PrestoEngineSpec):
return f"SHOW PARTITIONS {full_table_name}"
@classmethod
def select_star( # pylint: disable=too-many-arguments
def select_star( # pylint: disable=all
cls,
database: Database,
table: Table,