Skip to content

Commit 2354e2f

Browse files
authored
Bump to 6.0.0 (#333)
1 parent fb9fe5f commit 2354e2f

File tree

6 files changed

+47
-199
lines changed

6 files changed

+47
-199
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ per-file-ignores =
1818
tests/*:FTP300,FTP301,FTP302,FTP303,FTP304
1919
tests/test_data/*:FTP040
2020
tests/test_subdirs/*:FTP040
21-
ftp-python-version = 3.9.0
21+
ftp-python-version = 3.10.0
2222
ftp-pyproject-toml-file = pyproject.toml
2323
ftp-auto-manage-options = true
2424
ftp-pytest-parametrize-names-type = csv

.github/workflows/main.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,19 @@ jobs:
3030
run: uv sync --all-groups
3131
- name: run pre-commit
3232
run: uv run pre-commit run --all
33+
- name: Check for uncommitted changes
34+
run: |
35+
if [[ -n "$(git status --porcelain --untracked-files=all)" ]]; then
36+
echo "Changed files after pre-commit!"
37+
git status --porcelain --untracked-files=all
38+
exit 1
39+
fi
3340
ci-test:
3441
strategy:
3542
fail-fast: false
3643
matrix:
37-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.14']
38-
sphinx-version: [6.*, 7.*, 8.*]
39-
exclude:
40-
# sphinx 8 does not support python 3.9
41-
- sphinx-version: 8.*
42-
python-version: '3.9'
44+
python-version: ['3.10', '3.11', '3.12', '3.14']
45+
sphinx-version: [7.*, 8.*]
4346
runs-on: ubuntu-latest
4447
steps:
4548
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ repos:
5151
entry: pyupgrade
5252
language: system
5353
types: [python]
54-
args: [--py39-plus]
54+
args: [--py310-plus]
5555
- id: tomlsort
5656
name: tomlsort
5757
entry: toml-sort

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 6.0.0
4+
* Removed support for sphinx 6.x
5+
* Removed support for python 3.9
6+
37
## 5.2.0
48

59
* Add support for python 3.14

pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ classifiers = [
1717
"Operating System :: OS Independent",
1818
"Programming Language :: Python :: 3",
1919
"Programming Language :: Python :: 3 :: Only",
20-
"Programming Language :: Python :: 3.9",
2120
"Programming Language :: Python :: 3.10",
2221
"Programming Language :: Python :: 3.11",
2322
"Programming Language :: Python :: 3.12",
@@ -46,8 +45,8 @@ license-files = [
4645
]
4746
name = "swagger-plugin-for-sphinx"
4847
readme = "README.md"
49-
requires-python = ">=3.9,<4"
50-
version = "5.2.0"
48+
requires-python = ">=3.10,<4"
49+
version = "6.0.0"
5150

5251
[project.urls]
5352
Changelog = "https://github.com/SAP/swagger-plugin-for-sphinx/blob/main/CHANGELOG.md"
@@ -104,6 +103,10 @@ enable_error_code = [
104103
"possibly-undefined",
105104
"ignore-without-code",
106105
"deprecated",
106+
"redundant-self",
107+
"truthy-iterable",
108+
"unused-awaitable",
109+
"exhaustive-match",
107110
]
108111
pretty = true
109112
show_column_numbers = true
@@ -145,7 +148,7 @@ load-plugins = [
145148
"pylint.extensions.typing",
146149
]
147150
max-line-length = 100
148-
py-version = [3, 9]
151+
py-version = [3, 10]
149152

150153
[tool.pylint."messages control"]
151154
disable = [

0 commit comments

Comments
 (0)