Skip to content

Commit

Permalink
chore: fix ruff linting (ignore extract keys without items)
Browse files Browse the repository at this point in the history
Signed-off-by: Oz Tiram <[email protected]>
  • Loading branch information
oz123 committed Jan 9, 2025
1 parent 71d5840 commit b6fc7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipenv/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ def build_script(self, name: str, extra_args: list[str] | None = None) -> Script
def update_settings(self, d: dict[str, str | bool]) -> None:
settings = self.settings
changed = False
for new in d:
for new in d.keys(): # noqa: PLC0206
if new not in settings:
settings[new] = d[new]
changed = True
Expand Down

0 comments on commit b6fc7d8

Please sign in to comment.