Skip to content

Commit 0c0099b

Browse files
cclaussuranusjr
andauthored
Ruff misidentifies config as a dict
Co-authored-by: Tzu-ping Chung <[email protected]>
1 parent 0a24a00 commit 0c0099b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pip/_internal/commands/debug.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ def show_tags(options: Values) -> None:
134134

135135

136136
def ca_bundle_info(config: Configuration) -> str:
137+
# Ruff misidentifies config as a dict.
138+
# Configuration does not have support the mapping interface.
137139
levels = {key.split(".")[0] for key, _ in config.items()} # noqa: PERF102
138140
if not levels:
139141
return "Not specified"

0 commit comments

Comments
 (0)