Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[flake8]
max-line-length = 99
max-doc-length = 99
extend-ignore = E203,W503
extend-ignore = E203,W503,E231,E201
per-file-ignores =
tests/*:D205,D400
flake8_docstrings_complete/*:N802
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.13'
- id: output
run: |
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
Expand All @@ -44,13 +44,15 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
env:
- "test-flake85"
- "test-flake86"
- "test-flake87"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -94,10 +96,11 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down Expand Up @@ -160,10 +163,11 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## [Unreleased]

## [v1.4.1] - 2024-11-07

### Added

- Support for Python 3.12 and 3.13 and Flake8 7.

## [v1.4.0] - 2024-11-07

### Added
Expand Down Expand Up @@ -124,3 +130,4 @@
[v1.2.0]: https://github.com/jdkandersson/flake8-docstrings-complete/releases/v1.2.0
[v1.3.0]: https://github.com/jdkandersson/flake8-docstrings-complete/releases/v1.3.0
[v1.4.0]: https://github.com/jdkandersson/flake8-docstrings-complete/releases/v1.4.0
[v1.4.1]: https://github.com/jdkandersson/flake8-docstrings-complete/releases/v1.4.1
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "flake8-docstrings-complete"
version = "1.4.0"
version = "1.4.1"
description = "A linter that checks docstrings are complete"
authors = ["David Andersson <[email protected]>"]
license = "Apache 2.0"
Expand All @@ -13,17 +13,17 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
]

[tool.poetry.dependencies]
python = "^3.8.1"
python = "^3.9.0"
flake8 = ">= 5"

[build-system]
Expand Down
11 changes: 6 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,16 @@ commands =
pylint {[vars]all_path}
pydocstyle {[vars]src_path}

[testenv:test-flake8{5,6}]
[testenv:test-flake8{5,6,7}]
description = Run tests
deps =
flake85: flake8>=5,<6
flake86: flake8>=6,<7
pytest>=7,<8
pytest-cov>=4,<5
flake87: flake8>=7,<8
pytest>=8,<9
pytest-cov>=6,<7
astpretty>=3,<4
coverage[toml]>=6,<7
coverage[toml]>=7,<8
poetry
commands =
poetry install --only-root
Expand All @@ -70,6 +71,6 @@ commands =
[testenv:coverage-report]
description = Create test coverage report
deps =
coverage[toml]>=6,<7
coverage[toml]>=7,<8
commands =
coverage report
Loading