Skip to content

Commit

Permalink
Run isort on it as well
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Oct 17, 2023
1 parent 35321a7 commit 93d9e7b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions dahuffman/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from dahuffman.huffmancodec import HuffmanCodec
from dahuffman.codecs import (
load_shakespeare,
load_shakespeare_lower,
load_json,
load_json_compact,
load_shakespeare,
load_shakespeare_lower,
load_xml,
)
from dahuffman.huffmancodec import HuffmanCodec
9 changes: 4 additions & 5 deletions dahuffman/huffmancodec.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import collections
import itertools
from io import IOBase
import sys
from heapq import heappush, heappop, heapify

import logging
import pickle
import sys
from heapq import heapify, heappop, heappush
from io import IOBase
from pathlib import Path
from typing import Union, Any, Callable, Iterator, Optional, Mapping, Iterable
from typing import Any, Callable, Iterable, Iterator, Mapping, Optional, Union

_log = logging.getLogger(__name__)

Expand Down
3 changes: 1 addition & 2 deletions tests/test_dahuffman.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
import pytest

from dahuffman import HuffmanCodec
from dahuffman.huffmancodec import PrefixCodec, _EOF

from dahuffman.huffmancodec import _EOF, PrefixCodec

# TODO test streaming

Expand Down

0 comments on commit 93d9e7b

Please sign in to comment.