Releases: simon-ritchie/numdoclint
Releases · simon-ritchie/numdoclint
Support the black-style's docstring
What's Changed
- Issue#27 fix black compatibility issue by @peterprescott in #28
New Contributors
- @peterprescott made their first contribution in #28
Full Changelog: 0.1.8...0.1.9
Adjust to skip string line's callables
This release fixes #26 issue.
Support the `*` argument
Supported the *
argument to restrict positional argument (to use keyword argument), for example, as follows:
def any_func(a: int, *, b: int = 20) -> None:
...
Change Match type annotation from `re` to `typing` for the sake of compatibility of old Python
0.1.6 #24 Increment version number.
Fix statement judgement bug
0.1.5 #23 Adjust build command and description.
Add type annotations to each modules
0.1.4 #19 Apply each lints.
Fix incorrect argument name extraction pattern
0.1.3 #18 Fix incorrect argument name extraction pattern.
Fix argument default value's quotation bug.
0.1.2 #17 Fix argument default value's quotation bug.
Dropped Python 2.x support, and added type annotation support pattern.
0.1.1 #16 Drop Python 2.x tags.
Support function type annotation comment
Function type annotation comment (e.g. # type: ...
) before docstring (following code snippet) is now supported.
def sample_func(sample_num):
# type: (int) -> None
"""
Sample description.
...
"""
See Also: PEP 484 -- Type Hints