Skip to content

Commit efe9d4b

Browse files
committed
Remove unused argument
1 parent 1d9d56e commit efe9d4b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/pip/_internal/req/constructors.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,6 @@ def install_req_from_parsed_requirement(
456456
isolated: bool = False,
457457
use_pep517: Optional[bool] = None,
458458
user_supplied: bool = False,
459-
config_settings: Optional[Dict[str, str]] = None,
460459
) -> InstallRequirement:
461460
if parsed_req.is_editable:
462461
req = install_req_from_editable(
@@ -466,7 +465,6 @@ def install_req_from_parsed_requirement(
466465
constraint=parsed_req.constraint,
467466
isolated=isolated,
468467
user_supplied=user_supplied,
469-
config_settings=config_settings,
470468
)
471469

472470
else:
@@ -486,7 +484,6 @@ def install_req_from_parsed_requirement(
486484
constraint=parsed_req.constraint,
487485
line_source=parsed_req.line_source,
488486
user_supplied=user_supplied,
489-
config_settings=config_settings, # TODO get this from parsed_req.options?
490487
)
491488
return req
492489

0 commit comments

Comments
 (0)