diff --git a/pyproject.toml b/pyproject.toml index 1ee843de19..5d2f07be92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,7 +107,7 @@ markers = [ ] testpaths = [ "tests" ] addopts = [ "-ra", "--strict-config", "--strict-markers" ] -filterwarnings = ["error"] +filterwarnings = [ "error" ] xfail_strict = true [tool.towncrier] diff --git a/src/pipx/standalone_python.py b/src/pipx/standalone_python.py index a2750850de..895b3a3b03 100644 --- a/src/pipx/standalone_python.py +++ b/src/pipx/standalone_python.py @@ -119,7 +119,7 @@ def _unpack(full_version, download_link, archive: Path, download_dir: Path): ) with tarfile.open(archive, mode="r:gz") as tar: - tar.extractall(download_dir, filter='data') + tar.extractall(download_dir, filter="data") def get_or_update_index(use_cache: bool = True):