Skip to content

Latest commit

 

History

History
450 lines (326 loc) · 12.8 KB

CHANGELOG.md

File metadata and controls

450 lines (326 loc) · 12.8 KB

Change Log

[0.4.2] - 2024-05-29

[0.4.1] - 2024-02-17

[0.4.0] - 2024-02-08

[0.3.10] - 2024-02-07

[0.3.9] - 2024-01-16

[0.3.8] - 2023-10-20

[0.3.7] - 2023-10-19

[0.3.6] - 2023-10-18

[0.3.5] - 2023-10-17

[0.3.4] - 2023-10-12

[0.3.3] - 2023-10-01

  • Added

    • Added baseline file integration and 2 options:
      1. --generate-baseline True Generate baseline content, and write it to a file specified from --baseline option path.
      2. --baseline <PATH> Specify path to file with baseline content.
  • Changed

    • For the --config option, the default value is now pyproject.toml.
  • Full diff

[0.3.2] - 2023-09-04

[0.3.1] - 2023-08-28

[0.3.0] - 2023-08-26

  • Improved
    • Relaxed Generator/Iterator checking: stop enforcing the return annotation to be Generator if a function yields something (#76)
    • Added handling of functions that both return something and yield something
  • Changed
    • Used docstring_parser_fork to parse numpy-style docstrings, because the official numpydoc doesn't support both Yields and Returns sections in a single docstring
  • Removed
    • Dependency on numpydoc
  • Full diff

[0.2.4] - 2023-08-24

[0.2.3] - 2023-08-24

[0.2.2] - 2023-08-22

[0.2.1] - 2023-08-21

[0.2.0] - 2023-08-18

  • Added
    • Added checking of yield types (between function signature and the 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 (#68)
  • Fixed
    • Fixed a bug where raise/return/yield statements in match-case blocks are incorrectly identified. (#63)
  • Improved
    • Used a try/catch block to capture potential recursion error, potentially due to too complex functions/classes (#65)
  • Full diff

[0.1.9] - 2023-08-18

[0.1.8] - 2023-08-16

[0.1.7] - 2023-08-15

[0.1.6] - 2023-08-13

[0.1.5] - 2023-08-12

[0.1.4] - 2023-07-23

[0.1.3] - 2023-07-21

[0.1.2] - 2023-07-20

[0.1.1] - 2023-07-18

[0.1.0] - 2023-07-15

[0.0.16] - 2023-07-14

[0.0.15] - 2023-07-10

[0.0.14] - 2023-07-05

[0.0.13] - 2023-06-26

[0.0.12] - 2023-06-26

[0.0.11] - 2023-06-26

[0.0.10] - 2023-06-12

[0.0.9] - 2023-06-12

[0.0.8] - 2023-06-06

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

[0.0.7] - 2023-06-01

[0.0.6] - 2023-05-31

[0.0.5] - 2023-05-31

  • Added
    • A new option to allow no return section in the docstring if the function implicitly returns None (#6)
  • Changed
    • Made pydoclint options configurable via a config file (both in the native mode and in the flake8 plugin mode) (#11)
    • Methods with @property as its last decorator no longer need to have a return section in the docstring (#13)
  • Full diff

[0.0.4] - 2023-05-27

  • Added
    • A new violation, DOC001, for errors in parsing docstrings (#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) (#7)
  • Changed
    • Used AST unparser to unparse type annotation nodes
  • Fixed
    • A bug when parsing type annotations such as Callable[[int], str]
  • Full diff

[0.0.3] - 2023-05-18

[0.0.2] - 2023-05-16

[0.0.1] - 2023-05-15

Initial release