fix: minor ruff updates (#1649)

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
Henry Schreiner
2023-10-26 10:57:23 -04:00
committed by GitHub
parent c4fdf66efc
commit 1efccd03b5
5 changed files with 24 additions and 14 deletions
+2 -1
View File
@@ -16,6 +16,7 @@ from pathlib import Path, PurePath, PurePosixPath
from types import TracebackType
from typing import IO, Dict, Literal
from ._compat.typing import Self
from .typing import PathOrStr, PopenBytes
from .util import (
CIProvider,
@@ -105,7 +106,7 @@ class OCIContainer:
self.name: str | None = None
self.engine = engine
def __enter__(self) -> OCIContainer:
def __enter__(self) -> Self:
self.name = f"cibuildwheel-{uuid.uuid4()}"
# work-around for Travis-CI PPC64le Docker runs since 2021: