Skip to content

Commit

Permalink
Run all pre-commit hooks for the first time
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed Aug 2, 2024
1 parent 08244a7 commit 439a9cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions gcn_classic_to_kafka/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# SPDX-License-Identifier: Apache-2.0
#
"""Prometheus metrics."""

import prometheus_client

connected = prometheus_client.Gauge(
Expand Down
2 changes: 1 addition & 1 deletion gcn_classic_to_kafka/socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# SPDX-License-Identifier: Apache-2.0
#
"""Protocol handler for GCN socket connection."""

import asyncio
import logging
import struct
Expand All @@ -29,7 +30,6 @@


def client_connected(producer: confluent_kafka.Producer, timeout: float = 90):

async def client_connected_cb(
reader: asyncio.StreamReader, writer: asyncio.StreamWriter
):
Expand Down

0 comments on commit 439a9cd

Please sign in to comment.