Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-codecov committed Nov 8, 2024
1 parent deb6e15 commit 2f70222
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions codecov-api
4 changes: 2 additions & 2 deletions upload/views/combined_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def post(self, request: HttpRequest, *args, **kwargs) -> Response:
)
log.info(f"Creating commit for {commit_serializer.validated_data}")
repository = self.get_repo()

inc_counter(
API_UPLOAD_COUNTER,
labels=generate_upload_prometheus_metrics_labels(
Expand All @@ -98,7 +98,7 @@ def post(self, request: HttpRequest, *args, **kwargs) -> Response:
return Response(
commit_report_serializer.errors, status=status.HTTP_400_BAD_REQUEST
)

inc_counter(
API_UPLOAD_COUNTER,
labels=generate_upload_prometheus_metrics_labels(
Expand Down

0 comments on commit 2f70222

Please sign in to comment.