Skip to content

Commit 9d8e501

Browse files
authored
add python 3.11, 3.12, remove python 3.8 (#33)
* add python 3.11, 3.12, remove python 3.8 * add ignore * add ignore * add flake87 tests * bump version
1 parent 39517c6 commit 9d8e501

File tree

5 files changed

+25
-13
lines changed

5 files changed

+25
-13
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[flake8]
22
max-line-length = 99
33
max-doc-length = 99
4-
extend-ignore = E203,W503
4+
extend-ignore = E203,W503,E231,E201
55
per-file-ignores =
66
tests/*:D205,D400
77
flake8_docstrings_complete/*:N802

.github/workflows/ci-cd.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- uses: actions/setup-python@v4
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.13'
2525
- id: output
2626
run: |
2727
echo package_name=$(python -c 'import tomllib;from pathlib import Path;print(tomllib.loads(Path("pyproject.toml").read_text(encoding="utf-8"))["tool"]["poetry"]["name"])') >> $GITHUB_OUTPUT
@@ -44,13 +44,15 @@ jobs:
4444
strategy:
4545
matrix:
4646
python-version:
47-
- "3.8"
4847
- "3.9"
4948
- "3.10"
5049
- "3.11"
50+
- "3.12"
51+
- "3.13"
5152
env:
5253
- "test-flake85"
5354
- "test-flake86"
55+
- "test-flake87"
5456
steps:
5557
- uses: actions/checkout@v4
5658
- name: Set up Python ${{ matrix.python-version }}
@@ -94,10 +96,11 @@ jobs:
9496
strategy:
9597
matrix:
9698
python-version:
97-
- "3.8"
9899
- "3.9"
99100
- "3.10"
100101
- "3.11"
102+
- "3.12"
103+
- "3.13"
101104
steps:
102105
- name: Set up Python ${{ matrix.python-version }}
103106
uses: actions/setup-python@v4
@@ -160,10 +163,11 @@ jobs:
160163
strategy:
161164
matrix:
162165
python-version:
163-
- "3.8"
164166
- "3.9"
165167
- "3.10"
166168
- "3.11"
169+
- "3.12"
170+
- "3.13"
167171
steps:
168172
- name: Set up Python ${{ matrix.python-version }}
169173
uses: actions/setup-python@v4

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## [Unreleased]
44

5+
## [v1.4.1] - 2024-11-07
6+
7+
### Added
8+
9+
- Support for Python 3.12 and 3.13 and Flake8 7.
10+
511
## [v1.4.0] - 2024-11-07
612

713
### Added
@@ -124,3 +130,4 @@
124130
[v1.2.0]: https://github.com/jdkandersson/flake8-docstrings-complete/releases/v1.2.0
125131
[v1.3.0]: https://github.com/jdkandersson/flake8-docstrings-complete/releases/v1.3.0
126132
[v1.4.0]: https://github.com/jdkandersson/flake8-docstrings-complete/releases/v1.4.0
133+
[v1.4.1]: https://github.com/jdkandersson/flake8-docstrings-complete/releases/v1.4.1

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "flake8-docstrings-complete"
3-
version = "1.4.0"
3+
version = "1.4.1"
44
description = "A linter that checks docstrings are complete"
55
authors = ["David Andersson <[email protected]>"]
66
license = "Apache 2.0"
@@ -13,17 +13,17 @@ classifiers = [
1313
"License :: OSI Approved :: Apache Software License",
1414
"Programming Language :: Python",
1515
"Programming Language :: Python :: 3",
16+
"Programming Language :: Python :: 3.13",
1617
"Programming Language :: Python :: 3.12",
1718
"Programming Language :: Python :: 3.11",
1819
"Programming Language :: Python :: 3.10",
1920
"Programming Language :: Python :: 3.9",
20-
"Programming Language :: Python :: 3.8",
2121
"Topic :: Software Development :: Libraries :: Python Modules",
2222
"Topic :: Software Development :: Quality Assurance",
2323
]
2424

2525
[tool.poetry.dependencies]
26-
python = "^3.8.1"
26+
python = "^3.9.0"
2727
flake8 = ">= 5"
2828

2929
[build-system]

tox.ini

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,16 @@ commands =
5050
pylint {[vars]all_path}
5151
pydocstyle {[vars]src_path}
5252

53-
[testenv:test-flake8{5,6}]
53+
[testenv:test-flake8{5,6,7}]
5454
description = Run tests
5555
deps =
5656
flake85: flake8>=5,<6
5757
flake86: flake8>=6,<7
58-
pytest>=7,<8
59-
pytest-cov>=4,<5
58+
flake87: flake8>=7,<8
59+
pytest>=8,<9
60+
pytest-cov>=6,<7
6061
astpretty>=3,<4
61-
coverage[toml]>=6,<7
62+
coverage[toml]>=7,<8
6263
poetry
6364
commands =
6465
poetry install --only-root
@@ -70,6 +71,6 @@ commands =
7071
[testenv:coverage-report]
7172
description = Create test coverage report
7273
deps =
73-
coverage[toml]>=6,<7
74+
coverage[toml]>=7,<8
7475
commands =
7576
coverage report

0 commit comments

Comments
 (0)