We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
import __future__
1 parent 9f01d63 commit 8c891f0Copy full SHA for 8c891f0
setup.cfg
@@ -23,7 +23,7 @@ classifiers =
23
[options]
24
py_modules = reorder_python_imports
25
install_requires =
26
- aspy.refactor-imports>=2.1.0
+ aspy.refactor-imports>=2.2.1
27
python_requires = >=3.7
28
29
[options.entry_points]
tests/reorder_python_imports_test.py
@@ -698,6 +698,15 @@ def test_replace_module_imported_asname():
698
699
id='noreorder not at beginning',
700
),
701
+ pytest.param(
702
+ 'from __future__ import annotations\n'
703
+ '\n'
704
+ 'import __future__\n',
705
706
707
708
+ id='__future__ from and import',
709
+ ),
710
711
)
712
0 commit comments