Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 303c24f

Browse files
committed
Lints
1 parent 472128c commit 303c24f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

codecov_auth/authentication/helpers.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ class UploadInfo(NamedTuple):
1313
def get_upload_info_from_request_path(request: HttpRequest) -> UploadInfo | None:
1414
path_info = request.get_full_path_info()
1515
# The repo part comes from https://stackoverflow.com/a/22312124
16-
upload_views_prefix_regex = (
17-
r"\/upload\/(\w+)\/([\w\.@:_/\-~]+)\/(commits(?:\/([a-f0-9]{40}))?|upload-coverage)"
18-
)
16+
upload_views_prefix_regex = r"\/upload\/(\w+)\/([\w\.@:_/\-~]+)\/(commits(?:\/([a-f0-9]{40}))?|upload-coverage)"
1917
match = re.search(upload_views_prefix_regex, path_info)
2018

2119
if match is None:

0 commit comments

Comments
 (0)