Skip to content

Commit 0972123

Browse files
committed
fix E402: Module level import not at top of file
1 parent 28bdc7e commit 0972123

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: edgedb/errors/_base.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
import unicodedata
2424
import warnings
2525

26+
from edgedb.color import get_color
27+
2628
__all__ = (
2729
"EdgeDBError",
2830
"EdgeDBMessage",
@@ -331,6 +333,3 @@ def _unicode_width(text):
331333
"EDGEDB_ERROR_HINT can only be one of: default, enabled or disabled"
332334
)
333335
SHOW_HINT = False
334-
335-
336-
from edgedb.color import get_color

0 commit comments

Comments
 (0)