Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
- Sort imports
  • Loading branch information
argysamo committed Oct 22, 2023
1 parent 80c57ad commit 54bcca8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
8 changes: 3 additions & 5 deletions prometheus_aioexporter/script.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
"""Run a web server providing a Prometheus metrics endpoint."""

import argparse
from collections.abc import Iterable
import logging
import ssl
import sys
from collections.abc import Iterable
from ssl import SSLContext
from typing import (
IO,
)
import sys
from typing import IO

from aiohttp.web import Application
from prometheus_client import (
Expand Down
1 change: 0 additions & 1 deletion prometheus_aioexporter/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
)
from ssl import SSLContext
from textwrap import dedent
from typing import Optional

from aiohttp.web import (
Application,
Expand Down
2 changes: 1 addition & 1 deletion tests/script_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logging
from io import StringIO
import logging
from ssl import SSLContext
from unittest import mock

Expand Down

0 comments on commit 54bcca8

Please sign in to comment.