- Fixed - An issue where custom exceptions such as `a.b.c.MyException.from_str` cannot be properly parsed and compared - A minor wording issue in DOC503 violation message - Full diff - https://github.com/jsh9/pydoclint/compare/0.5.17...0.5.18
0.5.17
- Added - A new config option `--auto-regenerate-baseline` to automatically regenerate the baseline file for every successful _pydoclint_ run - Full diff - https://github.com/jsh9/pydoclint/compare/0.5.16...0.5.17
0.5.16
- Added
- A pre-commit hook for using _pydoclint_ as a flake8 plugin
- Full diff - https://github.com/jsh9/pydoclint/compare/0.5.15...0.5.16
0.5.15
- Changed
- Changed to using v0.0.10 of docstring_parser_fork, which now throws a `ParseError` when a non-empty docstring section cannot be parsed (in Numpy style). This `ParseError` would lead to DOC001.
- Full diff - https://github.com/jsh9/pydoclint/compare/0.5.14...0.5.15
0.5.14
- Changed
- 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