- 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
- Fixed
- Fixed a bug where pydoclint uses variable names instead of the exception itself (https://github.com/jsh9/pydoclint/issues/175)
- Full diff - https://github.com/jsh9/pydoclint/compare/0.5.10...0.5.11
0.5.10
- Changed - Command line message about loading config file is now hidden with config option `--quiet` - Fixed - Fixed a bug where assigning a value to an attribute caused pydoclint to crash - Changed
- Renamed function `unparseAnnotation()` into `unparseNode()` - Renamed `EdgeCaseError` into `EdgeCaseError`
- Full diff - https://github.com/jsh9/pydoclint/compare/0.5.9...0.5.10
0.5.9
- Fixed
- Fixed an edge case where type annotations are very long
- Full diff - https://github.com/jsh9/pydoclint/compare/0.5.8...0.5.9
0.5.8
- Fixed
- Fixed the logic of handling exceptions namespaces (`a.b.c.MyException`)
- Full diff - https://github.com/jsh9/pydoclint/compare/0.5.7...0.5.8
0.5.7
- Added
- A new violation code, `DOC503`, which checks that exceptions in the function body match those in the "Raises" section of the docstring
- Changed
- Switched from tab to 4 spaces in baseline
- Full diff - https://github.com/jsh9/pydoclint/compare/0.5.6...0.5.7