Skip to content

Commit 2133c9b

Browse files
committed
Remove stdlib files for EOL Python 2
1 parent 4f0fbc3 commit 2133c9b

File tree

5 files changed

+3
-309
lines changed

5 files changed

+3
-309
lines changed

isort/stdlibs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
from . import all as _all
2-
from . import py2, py3, py27, py36, py37, py38, py39, py310, py311
2+
from . import py3, py36, py37, py38, py39, py310, py311

isort/stdlibs/all.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
from . import py2, py3
1+
from . import py3
22

3-
stdlib = py2.stdlib | py3.stdlib
3+
stdlib = py3.stdlib

isort/stdlibs/py2.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

isort/stdlibs/py27.py

Lines changed: 0 additions & 301 deletions
This file was deleted.

tests/unit/test_importable.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ def test_importable():
2626
import isort.sorting
2727
import isort.stdlibs
2828
import isort.stdlibs.all
29-
import isort.stdlibs.py2
3029
import isort.stdlibs.py3
31-
import isort.stdlibs.py27
3230
import isort.stdlibs.py36
3331
import isort.stdlibs.py37
3432
import isort.stdlibs.py38

0 commit comments

Comments
 (0)