Skip to content

Commit 05dcc4d

Browse files
committed
lint
1 parent 908b5e5 commit 05dcc4d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

python/private/pypi/index_sources.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,11 @@ def index_sources(line):
6161
# Extract URL if present
6262
if "@" in head:
6363
requirement = requirement_line
64+
6465
# Extract URL from direct URL format
6566
_, _, url_and_rest = requirement.partition("@")
6667
url = url_and_rest.strip().partition(" ")[0].strip()
68+
6769
# Extract filename from URL
6870
if url:
6971
filename = url.rpartition("/")[2]

python/private/pypi/parse_requirements.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ def _add_dists(*, requirement, index_urls, logger = None):
292292
index_urls: The result of simpleapi_download.
293293
logger: A logger for printing diagnostic info.
294294
"""
295+
295296
# Handle direct URLs in requirements
296297
if hasattr(requirement.srcs, "url"):
297298
# Create a struct that matches the expected format for direct URLs

0 commit comments

Comments
 (0)