Skip to content

Commit

Permalink
Ensure support for py312 and 313 (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsh9 authored Dec 16, 2024
1 parent da14ebd commit ca6f344
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
Expand Down
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# Change Log

## [unpublished]
## [0.5.12] - 2024-12-15

- Changed
- Dropped support for Python 3.8
- Use "modern" type annotation, such as `list` and `str | None`
- Added

- Added static type checking using `mypy`
- A new config option,
`--only-attrs-with-ClassVar-are-treated-as-class-attrs`
- Ensured support for Python 3.12 and 3.13

- Full diff
- https://github.com/jsh9/pydoclint/compare/0.5.11...0.5.12

## [0.5.11] - 2024-12-14

Expand All @@ -18,7 +23,7 @@
itself (https://github.com/jsh9/pydoclint/issues/175)

- Full diff
- https://github.com/jsh9/pydoclint/compare/0.5.11...0.5.10
- https://github.com/jsh9/pydoclint/compare/0.5.10...0.5.11

## [0.5.10] - 2024-12-07

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pydoclint
version = 0.5.11
version = 0.5.12
description = A Python docstring linter that checks arguments, returns, yields, and raises sections
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ envlist =
py310
py311
py312
py313
mypy
cercis
check-self
Expand All @@ -18,6 +19,8 @@ python =
3.9: py39, mypy, cercis, check-self, flake8-basic, flake8-misc, flake8-docstrings, pre-commit
3.10: py310, mypy, cercis, check-self, flake8-basic, flake8-misc, flake8-docstrings, pre-commit
3.11: py311, mypy, cercis, check-self, flake8-basic, flake8-misc, flake8-docstrings, pre-commit
3.12: py311, mypy, cercis, check-self, flake8-basic, flake8-misc, flake8-docstrings, pre-commit
3.13: py311, mypy, cercis, check-self, flake8-basic, flake8-misc, flake8-docstrings, pre-commit


[testenv:mypy]
Expand Down

0 comments on commit ca6f344

Please sign in to comment.