Skip to content

Commit

Permalink
py-docstyle: update to 6.1.1.
Browse files Browse the repository at this point in the history
6.1.1 - May 17th, 2021

Bug Fixes

    Split --source by lines instead of by characters (#536).

6.1.0 - May 17th, 2021

New Features

    Enable full toml configuration and pyproject.toml (#534).

6.0.0 - March 18th, 2021

Major Updates

    Support for Python 3.5 has been dropped (#510).

New Features

    Add flag to disable # noqa comment processing in API (#485).
    Methods, Functions and Nested functions that have a docstring
    now throw D418 (#511).
    Methods decorated with @overload no longer reported as D102
    (#511).
    Functions and nested functions decorated with @overload no
    longer reported as D103 (#511).

Bug Fixes

    Treat “package” as an imperative verb for D401 (#356).
    Fix the parsing of decorated one line functions (#499).

5.1.2 - September 13th, 2020

New Features

    Methods, Functions and Nested functions that have a docstring
    now throw D418 (#511).
    Methods decorated with @overload no longer reported as D102.
    Functions and nested functions decorated with @overload no
    longer reported as D103.

5.1.1 - August 29th, 2020

Bug Fixes

    Fix IndexError crash on one-line backslashed docstrings (#506).

5.1.0 - August 22nd, 2020

New Features

    Skip function arguments prefixed with _ in D417 check (#440).

Bug Fixes

    Update convention support documentation (#386, #393)
    Detect inner asynchronous functions for D202 (#467)
    Fix indentation error while parsing class methods (#441).
    Fix a bug in parsing Google-style argument description. The
    bug caused some argument names to go unreported in D417 (#448).
    Fixed an issue where skipping errors on module level docstring
    via #noqa failed when there where more prior comments (#446).
    Support backslash-continued descriptions in docstrings (#472).
    Correctly detect publicity of modules inside directories (#470,
    #494).

5.0.2 - January 8th, 2020

Bug Fixes

    Fix DeprecationWarning / SyntaxError “invalid escape sequence”
    with Python 3.6+ (#445).

5.0.1 - December 9th, 2019

Bug Fixes

    Fixed an issue where AttributeError was raised when parsing
    the parameter section of a class docstring (#434, #436).

5.0.0 - December 9th, 2019

Major Updates

    Support for Python 3.4 has been dropped (#402).

New Features

    Extend support for detecting missing arguments in Google style
    docstrings to method calls (#384).
    Extend support for detecting missing argument description in
    Numpy style docstrings (#407).
    Added support for Python 3.8 (#423).
    Allow skipping errors on module level docstring via #noqa
    (#427).
    Whitespace is ignored with set options split across multiple lines (#221).

Bug Fixes

    Remove D413 from the google convention (#430).
    Remove D413 from the pep257 convention (#404).
    Replace semicolon with colon in D416 messages. (#409)
    D301 (Use r””” if any backslashes in a docstring) does not
    trigger on backslashes for line continuation or unicode literals
    \u... and \N... anymore. These are considered intended elements
    of the docstring and thus should not be escaped by using a raw
    docstring (#365).
    Fix decorator parsing (#411).
    Google-style sections no longer cause false errors when used
    with Numpy-style sections (#388, #424).
    D202: Allow a blank line after function docstring when followed
    by declaration of an inner function or class (#395, #426).
    Fix D401 and D404 checks not working for docstrings containing
    only one word and ending with non-alpha character (#421)

4.0.1 - August 14th, 2019

Bug Fixes

    D401: Fixed a false positive where one stem had multiple
    imperative forms, e.g., init and initialize / initiate (#382).
    Fix parser hanging when there’s a comment directly after __all__
    (#391, #366).
    Fixed RST error in table which resulted in the online documentation
    missing the violation code table (#396).
    Fixed IndentationError when parsing function arguments (#392).

4.0.0 - July 6th, 2019

Major Updates

    Support for Python 2.x and PyPy has been dropped (#340).
    Added initial support for Google convention (#357).

New Features

    Added pre-commit hook (#346)

Bug Fixes

    Fix parsing tuple syntax __all__ (#355, #352).
  • Loading branch information
0-wiz-0 committed Jun 18, 2022
1 parent efceae4 commit 861c625
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
13 changes: 4 additions & 9 deletions devel/py-docstyle/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:03 wiz Exp $
# $NetBSD: Makefile,v 1.9 2022/06/18 22:06:28 wiz Exp $

DISTNAME= pydocstyle-3.0.0
DISTNAME= pydocstyle-6.1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydocstyle/}

Expand All @@ -11,15 +10,11 @@ HOMEPAGE= https://github.com/PyCQA/pydocstyle
COMMENT= Python docstring style checker
LICENSE= mit

DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-snowballstemmer-[0-9]*:../../textproc/py-snowballstemmer

USE_PKG_RESOURCES= yes
PYTHON_VERSIONS_INCOMPATIBLE= 27

.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
DEPENDS+= ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
.endif
USE_PKG_RESOURCES= yes

post-extract:
${CHMOD} go-w ${WRKSRC}/src/pydocstyle/data/*.txt
Expand Down
3 changes: 1 addition & 2 deletions devel/py-docstyle/PLIST
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
@comment $NetBSD: PLIST,v 1.3 2018/12/05 15:52:42 adam Exp $
@comment $NetBSD: PLIST,v 1.4 2022/06/18 22:06:28 wiz Exp $
bin/pydocstyle-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/pbr.json
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pydocstyle/__init__.py
Expand Down
8 changes: 4 additions & 4 deletions devel/py-docstyle/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.6 2021/10/26 10:18:24 nia Exp $
$NetBSD: distinfo,v 1.7 2022/06/18 22:06:28 wiz Exp $

BLAKE2s (pydocstyle-3.0.0.tar.gz) = 921630e1156b981a0b4200e88d1371ceec295bd342fb879481aec6112088c1fa
SHA512 (pydocstyle-3.0.0.tar.gz) = ec2313e26dd988d35c99563344befc7b538f1d5945d1b1ce767f77851ff291b713aef423bc3d57a29f59d3198f14a6c5c7d217e5989534a1b877564634edd548
Size (pydocstyle-3.0.0.tar.gz) = 29627 bytes
BLAKE2s (pydocstyle-6.1.1.tar.gz) = 348d9c8a944e1d5e9b08df803d89fa5ddae1c10ef56e6cfc044249aa8273403f
SHA512 (pydocstyle-6.1.1.tar.gz) = 3aaf89803af3af950fc12eedac88e8683d7934b1fb74e33c1eddf146a1de9423f0e1158cbfb36d3ab7fa2a505727283103e0a8c47b09fc78b76a39ad14a06cfe
Size (pydocstyle-6.1.1.tar.gz) = 35663 bytes

0 comments on commit 861c625

Please sign in to comment.