Skip to content

Commit 007b162

Browse files
committed
Add support for isort 6.0.0. Fixes: #153
* Drop python 3.8, and add python 3.13.
1 parent 5f96842 commit 007b162

File tree

6 files changed

+15
-11
lines changed

6 files changed

+15
-11
lines changed

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: "ubuntu-latest"
1313
strategy:
1414
matrix:
15-
python-version: ["3.12", "3.11", "3.10", 3.9, 3.8, pypy-3.9]
15+
python-version: ["3.13", "3.12", "3.11", "3.10", 3.9, pypy-3.9]
1616
steps:
1717
- uses: actions/checkout@v4
1818
- name: Set up Python
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: "ubuntu-latest"
3737
strategy:
3838
matrix:
39-
python-version: [3.8]
39+
python-version: [3.9]
4040
steps:
4141
- uses: actions/checkout@v4
4242
- name: Set up Python

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
rev: v3.14.0
88
hooks:
99
- id: pyupgrade
10-
args: [--py38-plus]
10+
args: [--py39-plus]
1111
- repo: https://github.com/pycqa/isort
1212
rev: 5.12.0
1313
hooks:
@@ -46,6 +46,6 @@ repos:
4646
hooks:
4747
- id: pyroma
4848
- repo: https://github.com/mgedmin/check-python-versions
49-
rev: "0.21.3"
49+
rev: "0.22.1"
5050
hooks:
5151
- id: check-python-versions

CHANGES.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ Changelog
66
6.1.2 (unreleased)
77
------------------
88

9-
- Nothing changed yet.
9+
- Add support for isort 6.0.0.
10+
[SukiCZ]
11+
12+
- Drop python 3.8, and add python 3.13.
13+
[SukiCZ]
1014

1115

1216
6.1.1 (2023-11-03)

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Error codes
4949

5050
Requirements
5151
------------
52-
- Python 3.8, 3.9, 3.10, 3.11 and pypy3
52+
- Python 3.9, 3.10, 3.11, 3.12, 3.13 and pypy3
5353
- flake8
5454
- isort
5555

pyproject.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description = "flake8 plugin that integrates isort"
1212
keywords = ["pep8", "flake8", "python", "isort", "imports"]
1313
license = {file = "LICENSE"}
1414
readme = "README.rst"
15-
requires-python = ">=3.8"
15+
requires-python = ">=3.9"
1616
classifiers = [
1717
"Development Status :: 5 - Production/Stable",
1818
"Environment :: Console",
@@ -24,17 +24,17 @@ classifiers = [
2424
"Programming Language :: Python",
2525
"Programming Language :: Python :: 3",
2626
"Programming Language :: Python :: 3 :: Only",
27-
"Programming Language :: Python :: 3.8",
2827
"Programming Language :: Python :: 3.9",
2928
"Programming Language :: Python :: 3.10",
3029
"Programming Language :: Python :: 3.11",
3130
"Programming Language :: Python :: 3.12",
31+
"Programming Language :: Python :: 3.13",
3232
"Programming Language :: Python :: Implementation :: CPython",
3333
"Programming Language :: Python :: Implementation :: PyPy",
3434
"Topic :: Software Development",
3535
"Topic :: Software Development :: Quality Assurance",
3636
]
37-
dependencies = ["flake8", "isort >= 5.0.0, <6"]
37+
dependencies = ["flake8", "isort >= 5.0.0, <7"]
3838

3939
[project.urls]
4040
"Homepage" = "https://github.com/gforcada/flake8-isort"
@@ -51,7 +51,7 @@ I00 = "flake8_isort:Flake8Isort"
5151
profile = "plone"
5252

5353
[tool.black]
54-
target-version = ["py38"]
54+
target-version = ["py39"]
5555
skip-string-normalization = true
5656

5757
[tool.check-manifest]

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ envlist =
44
format
55
lint
66
coverage
7-
py38
87
py39
98
py310
109
py311
1110
py312
11+
py313
1212
pypy3
1313

1414
[testenv:test]

0 commit comments

Comments
 (0)