Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure support for py312 and 313 #189

Merged
merged 4 commits into from
Dec 16, 2024
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 .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
Loading