Skip to content

Commit

Permalink
Add py312 to stdlibs
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Dec 4, 2023
1 parent 2133c9b commit 80355eb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion isort/stdlibs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from . import all as _all
from . import py3, py36, py37, py38, py39, py310, py311
from . import py3, py36, py37, py38, py39, py310, py311, py312
12 changes: 10 additions & 2 deletions isort/stdlibs/py3.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
from . import py36, py37, py38, py39, py310, py311
from . import py36, py37, py38, py39, py310, py311, py312

stdlib = py36.stdlib | py37.stdlib | py38.stdlib | py39.stdlib | py310.stdlib | py311.stdlib
stdlib = (
py36.stdlib
| py37.stdlib
| py38.stdlib
| py39.stdlib
| py310.stdlib
| py311.stdlib
| py312.stdlib
)
1 change: 1 addition & 0 deletions tests/unit/test_importable.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def test_importable():
import isort.stdlibs.py39
import isort.stdlibs.py310
import isort.stdlibs.py311
import isort.stdlibs.py312
import isort.utils
import isort.wrap
import isort.wrap_modes
Expand Down

0 comments on commit 80355eb

Please sign in to comment.