Skip to content

Commit e131174

Browse files
authored
Bump to 4.0.0 (#215)
1 parent 6a1b00b commit e131174

5 files changed

Lines changed: 24 additions & 126 deletions

File tree

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ per-file-ignores =
1414
tests/*:FTP300,FTP301,FTP302,FTP303,FTP304
1515
tests/test_project/*:FTP040
1616

17-
ftp-python-version = 3.9.0
17+
ftp-python-version = 3.10.0
1818
ftp-auto-manage-options = true
1919
ftp-pytest-parametrize-names-type = csv
2020
ftp-distribution-name = invoke-plugin-for-sphinx

.github/workflows/main.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,20 @@ 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.13', '3.14']
44+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
3845
sphinx-version: [7.0.*, 7.*, 8.0.*]
3946
invoke-version: [2.1.*, 2.*]
40-
exclude:
41-
# sphinx 8 does not support python 3.9
42-
- sphinx-version: 8.0.*
43-
python-version: '3.9'
4447
runs-on: ubuntu-latest
4548
steps:
4649
- uses: actions/checkout@v4

CHANGELOG.md

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

3+
# 4.0.0
4+
* Removed support for python 3.9
5+
36
# 3.1.0
47
* Support python 3.14
58

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 = "invoke-plugin-for-sphinx"
4847
readme = "README.md"
49-
requires-python = ">=3.9,<4"
50-
version = "3.1.0"
48+
requires-python = ">=3.10,<4"
49+
version = "4.0.0"
5150

5251
[project.urls]
5352
Changelog = "https://github.com/SAP/invoke-plugin-for-sphinx/blob/main/CHANGELOG.md"
@@ -101,6 +100,10 @@ enable_error_code = [
101100
"possibly-undefined",
102101
"ignore-without-code",
103102
"deprecated",
103+
"redundant-self",
104+
"truthy-iterable",
105+
"unused-awaitable",
106+
"exhaustive-match",
104107
]
105108
pretty = true
106109
show_column_numbers = true
@@ -142,7 +145,7 @@ load-plugins = [
142145
"pylint.extensions.typing",
143146
]
144147
max-line-length = 100
145-
py-version = 3.9
148+
py-version = "3.10"
146149

147150
[tool.pylint."messages control"]
148151
disable = [

0 commit comments

Comments
 (0)