- Added `DOC002` (syntax error) to handle cases where there are syntax errors in the Python file - Replaced invisible and zero-width characters with empty strings so that Python's AST can correctly parse the files - Added end-to-end test (essentially an integration test)
- Fixed
- A bug in ast.assign
- Full diff - https://github.com/jsh9/pydoclint/compare/0.5.13...0.5.14
0.5.13
- Fixed
- Fixed a bug where assigning a dict value (such as `abc['something'] = 123`) would result in EdgeCaseError - Fixed a bug where non-UTF-8 encoded files would crash _pydoclint_
- Full diff - https://github.com/jsh9/pydoclint/compare/0.5.12...0.5.13
0.5.12
- 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