Skip to content

Commit 0ef29df

Browse files
committed
Add py312 to stdlibs
1 parent 4f0fbc3 commit 0ef29df

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
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 py2, py3, py27, py36, py37, py38, py39, py310, py311, py312

isort/stdlibs/py3.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1-
from . import py36, py37, py38, py39, py310, py311
1+
from . import py36, py37, py38, py39, py310, py311, py312
22

3-
stdlib = py36.stdlib | py37.stdlib | py38.stdlib | py39.stdlib | py310.stdlib | py311.stdlib
3+
stdlib = (
4+
py36.stdlib
5+
| py37.stdlib
6+
| py38.stdlib
7+
| py39.stdlib
8+
| py310.stdlib
9+
| py311.stdlib
10+
| py312.stdlib
11+
)

tests/unit/test_importable.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def test_importable():
3535
import isort.stdlibs.py39
3636
import isort.stdlibs.py310
3737
import isort.stdlibs.py311
38+
import isort.stdlibs.py312
3839
import isort.utils
3940
import isort.wrap
4041
import isort.wrap_modes

0 commit comments

Comments
 (0)