Skip to content

Commit

Permalink
chore(env): remove unused skip_write_checks flag
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed Jan 6, 2025
1 parent 9a62bcd commit 5d8f880
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/poetry/utils/env/site_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def __init__(
purelib: Path,
platlib: Path | None = None,
fallbacks: list[Path] | None = None,
skip_write_checks: bool = False,
) -> None:
self._purelib = purelib
self._platlib = platlib or purelib
Expand All @@ -40,7 +39,7 @@ def __init__(
if path not in self._candidates:
self._candidates.append(path)

self._writable_candidates = None if not skip_write_checks else self._candidates
self._writable_candidates: list[Path] | None = None

@property
def path(self) -> Path:
Expand Down

0 comments on commit 5d8f880

Please sign in to comment.