projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Used isort to sort imports. Also added to the git pre-commit hook.
[python_utils.git]
/
text_utils.py
diff --git
a/text_utils.py
b/text_utils.py
index 0d07905be78daeb273995a0b5e131722e6e344d5..534813c2ef28e186b0adb71ed22b3b1d7cbe4c98 100644
(file)
--- a/
text_utils.py
+++ b/
text_utils.py
@@
-2,15
+2,14
@@
"""Utilities for dealing with "text"."""
"""Utilities for dealing with "text"."""
-from collections import defaultdict
import logging
import math
import sys
import logging
import math
import sys
+from collections import defaultdict
from typing import Dict, Generator, List, NamedTuple, Optional
from ansi import fg, reset
from typing import Dict, Generator, List, NamedTuple, Optional
from ansi import fg, reset
-
logger = logging.getLogger(__file__)
logger = logging.getLogger(__file__)