Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: chrysle <fritzihab@posteo.de>
  • Loading branch information
hauntsaninja and chrysle authored Mar 24, 2024
1 parent 472c13b commit 7ca2879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions piptools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def maybe_statically_parse_project_metadata(

project_table = pyproject_contents["project"]

# Dynamic dependencies require build invocation
# Dynamic dependencies require build backend invocation
dynamic = project_table.get("dynamic", [])
if "dependencies" in dynamic or "optional-dependencies" in dynamic:
return None
Expand Down Expand Up @@ -152,7 +152,7 @@ def build_project_metadata(
if build_targets:
raise ValueError(
"Cannot execute the PEP 517 optional get_requires_for_build* "
"hooks statically"
"hooks statically, as build requirements are requested"
)
project_metadata = maybe_statically_parse_project_metadata(src_file)
if project_metadata is not None:
Expand Down

0 comments on commit 7ca2879

Please sign in to comment.