Skip to content

Commit a365fba

Browse files
committed
fix more lint
1 parent 6d5100d commit a365fba

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

samples/snippets/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def bigquery_client() -> bigquery.Client:
4343

4444

4545
@pytest.fixture(scope="session")
46-
def storage_client(project_id) -> storage.Client:
46+
def storage_client(project_id: str) -> storage.Client:
4747
return storage.Client(project=project_id)
4848

4949

@@ -53,7 +53,7 @@ def project_id(bigquery_client: bigquery.Client) -> str:
5353

5454

5555
@pytest.fixture(scope="session")
56-
def gcs_bucket(storage_client) -> Generator[str, None, None]:
56+
def gcs_bucket(storage_client: storage.Client) -> Generator[str, None, None]:
5757
bucket_name = "bigframes-gcs-test"
5858

5959
yield bucket_name

samples/snippets/sessions_and_io_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from google.cloud import storage
16-
1715

1816
def test_sessions_and_io(project_id: str, dataset_id: str, gcs_bucket: str) -> None:
1917
YOUR_PROJECT_ID = project_id

0 commit comments

Comments
 (0)