Skip to content

Commit 8dc9982

Browse files
deepsource-autofix[bot]1minds3t
authored andcommitted
refactor: move future imports to the top
Imports from `__future__` should be the first imports in a file. If it's not, it will raise a `SyntaxError`.
1 parent 989074b commit 8dc9982

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/omnipkg/libresolver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import ast
21
from __future__ import annotations
2+
import ast
33

44
from omnipkg.common_utils import safe_print
55

0 commit comments

Comments
 (0)