The NetBSD Project

CVS log for pkgsrc/devel/py-docstyle/Makefile

[BACK] Up to [] / pkgsrc / devel / py-docstyle

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 30 15:32:48 2023 UTC (7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, HEAD
Changes since 1.10: +1 -6 lines
Diff to previous 1.10 (colored)

Remove dependencies for Python 3.7

Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 30 15:23:08 2023 UTC (9 months, 4 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Changes since 1.9: +12 -2 lines
Diff to previous 1.9 (colored)

py-docstyle: update to 6.3.0.


What's Changed

    Fix typo in pre-commit-hook by @samj1912 in #624
    Add ignore-self-only-init option by @thejcannon in #560


What's Changed

    Fix decorator parsing for async functions by @cdce8p in #577
    fix: do not pass file names with pre-commit by @yajo in #610


What's Changed

    Fix false positive of google convention missing args descriptions by @stinovlas in #619


What's Changed

    Add https protocol on websites at the README.rst by @realFranco in #611
    Add Python 3.11 to the testing by @cclauss in #612
    requirements/docs.txt: Use current versions of Jinja2 and sphinx by @cclauss in #615
    Use tomllib/tomli for reading .toml configs by @mgorny in #608
    Docs: pydocstyle supports Python 3.7 through 3.11. by @cclauss in #616


What's Changed

    Gitpod-ify the repository by @samj1912 in #548
    Updating readme to reflect support for Python 3.9 by @sanders41 in #545
    Exempt properties from D401 by @TomFryers in #546
    Add support for Python 3.10 by @hugovk in #554
    Fix CI for python 3.10 by @samj1912 in #565
    Add D419: Add and switch to "Docstring is empty" error code by @thejcannon in #559
    Allow for hanging indent when documenting args in Google style by @rmorshea in #564
    Fix match option to only consider basename when given a path argument by @oczkoisse in #550
    Typo fix in docs/error_codes.rst by @Daniel-Mietchen in #578
    docs: Fix double-dash converted to en-dash by @wjandrea in #579
    Fix test warnings and improve lint configuration by @aphedges in #584
    Fix broken CI checks by @aphedges in #585
    Move tool configs to pyproject.toml by @Mr-Pepe in #588
    Add github action to be able to release on published tag by @Pierre-Sassoulas in #582
    Typo by @Fokko in #598
    Move to poetry and automated relases via Github UI by @samj1912 in #614

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 18 22:06:28 2022 UTC (20 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.8: +4 -9 lines
Diff to previous 1.8 (colored)

py-docstyle: update to 6.1.1.

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
    Functions and nested functions decorated with @overload no
    longer reported as D103 (#511).

Bug Fixes

    Treat ackageas 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,

5.0.2 - January 8th, 2020

Bug Fixes

    Fix DeprecationWarning / SyntaxError nvalid 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
    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 rif 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 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).

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 5 15:41:03 2022 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

python: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 4 20:53:01 2022 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

*: bump PKGREVISION for users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 5 15:52:42 2018 UTC (5 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.5: +7 -3 lines
Diff to previous 1.5 (colored)

py-docstyle: updated to 3.0.0


Major Updates
Support for Python 3.3 has been dropped
Added support for Python 3.7

New features
Violations are now reported on the line where the docstring starts, not the line of the def/class
Updated description of pep257 and numpy conventions
__all__ parsing is now done on a best-effort basis - if __all__ can't be statically determined, it will be ignored

Bug Fixes
Fixed a false-positive recognition of section names causing D405 to be reported
Fixed a bug where functions that don't end with a newline will sometimes raise an exception

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 15 15:56:16 2018 UTC (5 years, 9 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

devel/py-docstyle: Remove an unused entry from ALTERNATIVES

Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 12 08:34:25 2017 UTC (6 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored)

py-docstyle: update to 2.1.1

Bug Fixes
Changed wheel configuration to be NOT universal, as 281 added configparser as a dependency for Python 2.7.
Updated usage documentation.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 30 22:32:16 2017 UTC (6 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Switch github HOMEPAGEs to https.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 30 15:53:49 2017 UTC (6 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.1: +8 -3 lines
Diff to previous 1.1 (colored)


Major Updates
* Support for numpy conventions verification has been added.
* Support for Python 2.6 has been dropped.
* Support for PyPy3 has been temporarily dropped, until it will be equivalent to CPython 3.3+ and supported by pip.
* Support for the pep257 console script has been dropped. Only the pydocstyle console script should be used.
* Errors are now printed to stdout instead of stderr.

New Features
* Decorator-based skipping via --ignore-decorators has been added.
* Support for using pycodestyle style wildcards has been added.
* Superfluous opening quotes are now reported as part of D300.
* Fixed a false-positive recognition of D410 and added D412.
* Added --config=<path> flag to override the normal config file discovery and choose a specific config file.
* Support for specifying error codes with partial prefix has been added, e.g., --select=D101,D2.
* All configuration file can now have the .ini extension.
* Added better imperative mood checks using third party stemmer.

Bug Fixes
* Made parser more robust to bad source files
* Modules are now considered private if their name starts with a single underscore. This is a bugfix where ublic module(D100) was reported regardless of module name.
* Removed error when __all__ is a list.
* Fixed a bug where the @ sign was used as a matrix multiplication operator in Python 3.5, but was considered a decorator by the parser

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 4 13:31:37 2017 UTC (6 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2

Import py-docstyle-1.1.1 as devel/py-docstyle.

pydocstyle is a static analysis tool for checking compliance with
Python docstring conventions.

pydocstyle supports most of PEP 257 out of the box, but it should
not be considered a reference implementation.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>