Skip to content

Commit

Permalink
Merge pull request #154 from SukiCZ/fix/isort-6-support
Browse files Browse the repository at this point in the history
Add support for isort 6.0.0. Fixes: #153
  • Loading branch information
gforcada authored Jan 29, 2025
2 parents 5f96842 + 007b162 commit d90f8c1
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.12", "3.11", "3.10", 3.9, 3.8, pypy-3.9]
python-version: ["3.13", "3.12", "3.11", "3.10", 3.9, pypy-3.9]
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -36,7 +36,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: [3.8]
python-version: [3.9]
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
rev: v3.14.0
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py39-plus]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
Expand Down Expand Up @@ -46,6 +46,6 @@ repos:
hooks:
- id: pyroma
- repo: https://github.com/mgedmin/check-python-versions
rev: "0.21.3"
rev: "0.22.1"
hooks:
- id: check-python-versions
6 changes: 5 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ Changelog
6.1.2 (unreleased)
------------------

- Nothing changed yet.
- Add support for isort 6.0.0.
[SukiCZ]

- Drop python 3.8, and add python 3.13.
[SukiCZ]


6.1.1 (2023-11-03)
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Error codes

Requirements
------------
- Python 3.8, 3.9, 3.10, 3.11 and pypy3
- Python 3.9, 3.10, 3.11, 3.12, 3.13 and pypy3
- flake8
- isort

Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description = "flake8 plugin that integrates isort"
keywords = ["pep8", "flake8", "python", "isort", "imports"]
license = {file = "LICENSE"}
readme = "README.rst"
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
Expand All @@ -24,17 +24,17 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development",
"Topic :: Software Development :: Quality Assurance",
]
dependencies = ["flake8", "isort >= 5.0.0, <6"]
dependencies = ["flake8", "isort >= 5.0.0, <7"]

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

[tool.black]
target-version = ["py38"]
target-version = ["py39"]
skip-string-normalization = true

[tool.check-manifest]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ envlist =
format
lint
coverage
py38
py39
py310
py311
py312
py313
pypy3

[testenv:test]
Expand Down

0 comments on commit d90f8c1

Please sign in to comment.