Skip to content

Commit

Permalink
More reformatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonspeed committed Feb 27, 2024
1 parent 118f121 commit 895b695
Show file tree
Hide file tree
Showing 17 changed files with 2 additions and 15 deletions.
1 change: 1 addition & 0 deletions eliot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Eliot: Logging for Complex & Distributed Systems.
"""

from warnings import warn

# Expose the public API:
Expand Down
1 change: 0 additions & 1 deletion eliot/_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Error-handling utility code.
"""


from inspect import getmro


Expand Down
1 change: 0 additions & 1 deletion eliot/_generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Support for maintaining an action context across generator suspension.
"""


from sys import exc_info
from functools import wraps
from contextlib import contextmanager
Expand Down
1 change: 0 additions & 1 deletion eliot/_traceback.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
as well as common utilities for handling exception logging.
"""


import traceback
import sys

Expand Down
1 change: 0 additions & 1 deletion eliot/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Standardized serialization code.
"""


from hashlib import md5

_TIME_FORMAT = "%Y-%m-%dT%H:%M:%S.%fZ"
Expand Down
1 change: 0 additions & 1 deletion eliot/tai64n.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
@see: U{http://cr.yp.to/libtai/tai64.html}.
"""


import struct
from binascii import b2a_hex, a2b_hex

Expand Down
1 change: 0 additions & 1 deletion eliot/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests for the public API exposed by L{eliot}.
"""


from unittest import TestCase

from .._output import Logger
Expand Down
1 change: 0 additions & 1 deletion eliot/tests/test_generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests for L{eliot._generators}.
"""


from pprint import pformat
from unittest import TestCase

Expand Down
1 change: 1 addition & 0 deletions eliot/tests/test_journald.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Tests for L{eliot.journald}.
"""

from os import getpid, strerror
from unittest import skipUnless, TestCase
from subprocess import check_output, CalledProcessError, STDOUT
Expand Down
1 change: 0 additions & 1 deletion eliot/tests/test_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests for L{eliot._message}.
"""


from unittest import TestCase
from uuid import UUID
import time
Expand Down
1 change: 0 additions & 1 deletion eliot/tests/test_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests for L{eliot.serializers}.
"""


from unittest import TestCase
from datetime import datetime
from hashlib import md5
Expand Down
1 change: 0 additions & 1 deletion eliot/tests/test_tai64n.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests for L{eliot.tai64n}.
"""


import errno
import time
import subprocess
Expand Down
1 change: 0 additions & 1 deletion eliot/tests/test_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests for L{eliot.testing}.
"""


from unittest import SkipTest, TestResult, TestCase, skipUnless

try:
Expand Down
1 change: 0 additions & 1 deletion eliot/tests/test_traceback.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests for L{eliot._traceback}.
"""


from unittest import TestCase, SkipTest
import traceback
import sys
Expand Down
1 change: 0 additions & 1 deletion eliot/tests/test_twisted.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests for L{eliot.twisted}.
"""


import sys
from functools import wraps

Expand Down
1 change: 0 additions & 1 deletion eliot/tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests for L{eliot._util}.
"""


from unittest import TestCase
import pprint

Expand Down
1 change: 0 additions & 1 deletion eliot/twisted.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
APIs for using Eliot from Twisted.
"""


import os
import sys

Expand Down

0 comments on commit 895b695

Please sign in to comment.