Skip to content

Commit

Permalink
Add issue or PR links to CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jsh9 committed Aug 19, 2023
1 parent 4aff8b8 commit 014c244
Showing 1 changed file with 31 additions and 13 deletions.
44 changes: 31 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
docstring's Yields section), as well as a corresponding violation: `DOC404`
- Added checking of incompatibility between `Generator`/`Iterator` and the
`yield`/`return` statements, as well as a corresponding violation: `DOC405`
(https://github.com/jsh9/pydoclint/issues/68)
- Fixed
- Fixed a bug where raise/return/yield statements in match-case blocks are
incorrectly identified
incorrectly identified. (https://github.com/jsh9/pydoclint/issues/63)
- Improved
- Used a try/catch block to capture potential recursion error, potentially
due to too complex functions/classes
Expand All @@ -22,29 +23,31 @@
- Fixed
- Fixed a bug where union-style return types (such as `int | str`) in
Google-style docstrings cannot be correctly parsed
([Issue #66](https://github.com/jsh9/pydoclint/issues/66))
(https://github.com/jsh9/pydoclint/issues/66)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.1.8...0.1.9

## [0.1.8] - 2023-08-16

- Fixed
- Fixed a broken URL that used to point to `DOC103` notes
([Issue #61](https://github.com/jsh9/pydoclint/issues/61))
(https://github.com/jsh9/pydoclint/issues/61)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.1.7...0.1.8

## [0.1.7] - 2023-08-15

- Fixed
- Correctly handle potentially unacceptable type hint formats
(https://github.com/jsh9/pydoclint/issues/59)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.1.6...0.1.7

## [0.1.6] - 2023-08-13

- Added
- Added handling of the `NoReturn` type annotation
(https://github.com/jsh9/pydoclint/issues/55)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.1.5...0.1.6

Expand All @@ -53,6 +56,7 @@
- Improved
- Improved algorithm to compare type hints, so that type hints are considered
equal if their actual meanings are the same.
(https://github.com/jsh9/pydoclint/issues/56)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.1.4...0.1.5

Expand All @@ -67,21 +71,23 @@

- Fixed
- Pass `--check-return-types` option to flake8 plugin
(https://github.com/jsh9/pydoclint/pull/52)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.1.2...0.1.3

## [0.1.2] - 2023-07-20

- Fixed
- Fixed outdated naming of options `--type-hints-in-docstring` and
`--type-hints-in-signature`
`--type-hints-in-signature` (https://github.com/jsh9/pydoclint/issues/50)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.1.1...0.1.2

## [0.1.1] - 2023-07-18

- Fixed
- Fixed incorrect blocking of "sphinx" style in CLI arguments
(https://github.com/jsh9/pydoclint/issues/49)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.1.0...0.1.1

Expand All @@ -90,6 +96,7 @@
- Added
- Added support for the
[Sphinx docstring style](https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html)
(https://github.com/jsh9/pydoclint/issues/43)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.0.16...0.1.0

Expand All @@ -105,23 +112,25 @@

- Fixed
- Fixed false positive `DOC402` when `yield` statements are in a block within
a nested function
a nested function (https://github.com/jsh9/pydoclint/pull/42)
- Fixed false positives when `return` and `raise` statements are in a block
within a nested function
within a nested function (https://github.com/jsh9/pydoclint/pull/42)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.0.14...0.0.15

## [0.0.14] - 2023-07-05

- Fixed
- Fixed an issue where quotes in return annotations are not properly handled
(https://github.com/jsh9/pydoclint/pull/39)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.0.13...0.0.14

## [0.0.13] - 2023-06-26

- Fixed
- False positives when checking abstract methods
- False positives when checking abstract methods (partially tackles
https://github.com/jsh9/pydoclint/issues/31)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.0.12...0.0.13

Expand All @@ -131,6 +140,7 @@
- False positive of DOC203 when
`--require-return-section-when-returning-None` is `False`, the docstring
has no return section, and the return annotation is `None`
(https://github.com/jsh9/pydoclint/pull/34)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.0.11...0.0.12

Expand All @@ -139,14 +149,15 @@
- Added
- A new violation code, DOC203, which is about inconsistency between return
types in the docstring and in the return annotation
(https://github.com/jsh9/pydoclint/pull/33)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.0.10...0.0.11

## [0.0.10] - 2023-06-12

- Fixed
- Fixed a bug in checking type hints when the function signature only
contains star arguments
- Fixed a bug (https://github.com/jsh9/pydoclint/issues/19) in checking type
hints when the function signature only contains star arguments
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.0.9...0.0.10

Expand All @@ -155,21 +166,25 @@
- Changed
- Replaced the `--check-type-hint` option with two new options:
`--type-hints-in-docstring` and `--type-hints-in-signature`
(https://github.com/jsh9/pydoclint/issues/19)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.0.8...0.0.9

## [0.0.8] - 2023-06-06

- Added
- A command line option `--version` to show the current version of pydoclint
(https://github.com/jsh9/pydoclint/pull/17)
- Enabled pydoclint to be used as a pre-commit hook
(https://github.com/jsh9/pydoclint/pull/18)
- Fixed
- Encoding issues in Windows (where non-ASCII characters cause issues with
Windows + pre-commit)
Windows + pre-commit) (https://github.com/jsh9/pydoclint/pull/21)
- Stopped using colons (:) in flake8 error messages because they could cause
issues with tools like "yesqa"
issues with tools like "yesqa" (https://github.com/jsh9/pydoclint/pull/22)
- Changed
- Expanded the logic to identify generator functions
(https://github.com/jsh9/pydoclint/issues/15)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.0.7...0.0.8

Expand All @@ -191,22 +206,25 @@

- Added
- A new option to allow no return section in the docstring if the function
implicitly returns `None`
implicitly returns `None` (https://github.com/jsh9/pydoclint/issues/6)
- Changed
- Made pydoclint options configurable via a config file (both in the native
mode and in the flake8 plugin mode)
(https://github.com/jsh9/pydoclint/pull/11)
- Methods with `@property` as its last decorator no longer need to have a
return section in the docstring
return section in the docstring (https://github.com/jsh9/pydoclint/pull/13)
- Full diff
- https://github.com/jsh9/pydoclint/compare/0.0.4...0.0.5

## [0.0.4] - 2023-05-27

- Added
- A new violation, `DOC001`, for errors in parsing docstrings
(https://github.com/jsh9/pydoclint/pull/8)
- A new option to allow `__init__()` methods to have docstring (and when
users activate this option, check arguments and "Raises" in the docstring
of `__init__()` instead of in the class docstring)
(https://github.com/jsh9/pydoclint/pull/7)
- Changed
- Used AST unparser to unparse type annotation nodes
- Fixed
Expand Down

0 comments on commit 014c244

Please sign in to comment.