All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
This project uses towncrier and the changes for the upcoming release can be found in https://github.com/jshwi/docsig/tree/main/changelog/.
0.64.1 - 2024-11-10
- correctly load config for windows (#488)
0.64.0 - 2024-10-04
- unicode decode error (#472)
- raise invalid-syntax if a string cannot be parsed (#471)
0.63.0 - 2024-09-29
- return 123 when there is a syntax error (#463)
0.62.1 - 2024-09-28
- fix missing description with multiple args (#461)
0.62.0 - 2024-09-27
- handle syntax error as a violation (#455)
0.61.1 - 2024-09-22
- disallow both class args with flake8 (#452)
0.61.0 - 2024-09-20
- verbose option to flake8 plugin (#445)
- vendor arcon (#447)
0.60.1 - 2024-08-29
- only check params for incorrect-indent (#427)
0.60.0 - 2024-07-31
- excludes option for path glob patterns (#393)
0.59.3 - 2024-07-28
- default exclude pattern for pycache (#396)
0.59.2 - 2024-07-27
- handle directory exclude patterns (#392)
0.59.1 - 2024-07-17
- handle unicode decode error (#384)
0.59.0 - 2024-07-16
- sort checked paths (#381)
0.58.0 - 2024-07-15
- remove click from dependencies (#376)
0.57.0 - 2024-07-03
- docsig as a flake8 plugin (#368)
0.56.0 - 2024-06-23
- error codes
- old style messages
0.55.0 - 2024-06-12
- rename targets parameter to target in docsig function
0.54.1 - 2024-05-23
- issue where spelling-error could only occur alone
0.54.0 - 2024-05-21
- description-missing check
- reword description for confirm-return-needed
- adjust docstring to match signature once params-missing evaluated
0.53.3 - 2024-05-13
- param-not-equal-to-arg which should not be final catch-all
0.53.2 - 2024-05-09
- raise E102 before E107 considered
- false positives in E105 hints
- method for detecting incorrectly indented parameter
- no longer rely on raising E102 errors to raise E106
- no longer rely on raising E101 errors to raise E106
- raise E107 without relying on other errors
- issue where E106 needed parameter name and description to match
0.53.1 - 2024-05-06
- no longer raise E104 with optional overload (#318)
0.53.0 - 2024-05-01
- hint for confirm-return-needed
- arg for ignoring return type checker
- output to summarised version
- remove color from help
- summary option as this is now the report format
0.52.0 - 2024-04-29
- message types to messages module
0.51.1 - 2024-04-27
- import alias for imported decorators
0.51.0 - 2024-04-23
- exclude files in gitignore
- send path in syntax error to stderr
0.50.0 - 2024-04-23
- successfully parsed file to verbose output
- improve syntax error message
- continue running all the way through on syntax error
0.49.2 - 2024-04-21
- indent for hints
0.49.1 - 2024-04-20
- apply no-ansi option to excepthook
- ensure colors are removed when not running in a tty
- ensure excepthook prints to stderr
- use click echo for excepthook
0.49.0 - 2024-04-20
- use click echo
0.48.0 - 2024-04-19
- replace tabs with spaces in summary
- remove typing-extensions from dependencies
0.47.0 - 2024-04-14
- option for checking nested functions and classes (#293)
- check indented functions and classes (#293)
0.46.0 - 2024-04-09
- verbose option
- short form for version
0.45.0 - 2024-04-09
- exclude option
- allow decorators to be referenced with module name
- allow checking of files not ending in .py
0.44.3 - 2024-03-24
- treat
functools.cached_property
as a property
0.44.2 - 2023-12-03
- wrap function with functools.wraps
0.44.1 - 2023-12-01
- class checks can now be disabled with comments
0.44.0 - 2023-11-30
- help when both class args are configured in pyproject.toml file
- check for both class args when not running the commandline
- report all errors instead of just the first
- return string instead of raising for api
- raise system exit instead of value error
0.43.0 - 2023-11-28
- option to list checks and their messages
- correct symbolic message for E204
- allow paths as strings when using api
- allow for passing string argument via commandline
0.42.1 - 2023-11-27
- ensure files are read with utf-8 encoding
0.42.0 - 2023-11-26
- support for python3.12
0.41.0 - 2023-11-26
- error handling for unknown target args
- error handling for unknown disable args
- functionality to disable checks by symbolic reference
- symbolic field to messages
- default template for error messages
- error object to
docsig.messages
- option to check methods belonging to protected classes
- use system agnostic root when finding pyproject.toml
- error constants in
docsig.messages
- hint constants in
docsig.messages
0.40.0 - 2023-11-25
- option to check
__init__
against its own docstring (#195)
0.39.1 - 2023-11-23
- catch unknown single options
0.39.0 - 2023-11-20
- add errors for directive options
- add errors for invalid comment directives
- add function name to summary report header
- sort errors for report output
- do not treat unknown comment directive as an enabler
0.38.0 - 2023-11-18
- add support for enabling individual errors with comments
- add support for disabling individual errors with comments
0.37.0 - 2023-11-17
- raise error if file not found
- add user friendly errors for the commandline
- fix index error raised with alternative comment formats
0.36.1 - 2023-11-17
- fix handling of params for overloaded functions
0.36.0 - 2023-11-14
- add support for disable comments
- add support for overloaded functions (#196)
0.35.0 - 2023-08-09
- remove default value for positional arguments
0.34.2 - 2023-08-08
- recognize positional-only arguments with methods
0.34.1 - 2023-08-05
- recognize positional-only arguments
0.34.0 - 2023-01-23
- Add support for Python 3.10 (#65)
0.33.2 - 2023-01-05
- Relax
arcon
version constraint
0.33.1 - 2022-12-24
- Fix incorrect
pre-commit
documentation (#50)
0.33.0 - 2022-12-21
0.32.0 - 2022-12-11
- Add
-P/--check-property-returns
argument
0.31.0 - 2022-12-11
- Add
-i/--ignore-no-params
argument (#45)
E109
raised only if docstring exists
0.30.1 - 2022-12-10
- Fix issue where str annotation for return was considered None (#44)
0.30.0 - 2022-12-09
- Add support for
pre-commit
(#39)
0.29.0 - 2022-12-09
- Add linkable path and line number (#40)
- Update display for
-s/--summary
0.28.0 - 2022-12-04
- Generate function string representation only if function fails
0.27.0 - 2022-12-04
- Update display of docstring
- Display
key
for docstring kwargs
0.26.1 - 2022-11-30
- Fix issue where dashes in config were not being parsed correctly
0.26.0 - 2022-11-30
- Add
E116
error for poor indentation - Add
E115
error for syntax errors in description - Add
E114
error for missing class docstring - Add
messages
to__all__
0.25.0 - 2022-11-28
- Add
E113
error for missing docstring
- Fix error code displayed for
E112
0.24.1 - 2022-11-27
- Allow asterisks in
Sphinx
docstrings
0.24.0 - 2022-11-26
- Add support for
Google
docstrings
- Accept
returns
keyword for return
0.23.4 - 2022-11-25
- Remove requirement for typed
numpy
docstrings
0.23.3 - 2022-11-25
- Fix
numpy
docstring syntax for handling args - Fix
numpy
docstring syntax for kwargs inParameters
group - Fix
numpy
docstring syntax for kwargs underParameters
section
0.23.2 - 2022-11-23
- Remove check for spaced colon in
numpy
style docstrings (#36) - Remove indent requirement for
numpy
style docstrings (#36)
0.23.1 - 2022-11-06
- Fixes check for
numpy
style docstring
0.23.0 - 2022-08-29
- Adds check for
numpy
style docstrings (#14)
0.22.0 - 2022-07-16
- Adds
-n/--no-ansi
argument - Adds
-S/--summary
argument
0.21.0 - 2022-07-15
- Adds
E112
for spelling errors (#7)
0.20.0 - 2022-07-15
- Adds
-D/--check-dunders
argument - Adds
-o/--check-overridden
argument
- Changes dunder methods to no longer be considered private
- Changes class constructor to no longer be considered a private method
- Changes class constructor to no longer be considered a dunder method
0.19.0 - 2022-07-14
- Adds
-p/--check-protected
argument
- Fixes issue where
self
andcls
were the only first args ignored - Fixes issue where
self
andcls
were ignored for static methods - Fixes issue where any func named
__init__
was not protected - Fixes issue where any function could be a property
0.18.0 - 2022-07-13
- Adds
E111
check for classes that document a return
- Removes
E104
check for class docstrings - Removes
E105
check for class docstrings - Removes
E109
check for class docstrings
0.17.0 - 2022-07-13
- Adds
-c/--check-class
argument
0.16.0 - 2022-07-12
- Adds
-s/--string
argument - Adds
docsig
function for API usage - Adds default path argument as current working dir
- Fixes issue where keyword only args were not recognised
0.15.0 - 2022-07-11
- Adds line number to report
0.14.0 - 2022-07-10
- Adds
E110
catch-all for documentation not equal to its signature
- Fixes issue where
docsig -v
did not print version
0.13.0 - 2022-07-02
- Adds target option
0.12.1 - 2022-06-29
- Prevents duplicate error messages from occurring
0.12.0 - 2022-06-28
- Adds disable option
- Adds error for missing return type
- Adds error for documented property returns
- Allows for params with any amount of spaces before description
0.11.0 - 2022-06-27
- Fails checks for missing docstring
- Ignores docstrings for overridden methods
0.10.0 - 2022-06-26
- Adds hint for missing returns
- Adds codes to printed messages
- Fails checks with bad indentation
0.9.0 - 2022-06-26
- Adds hint for property returns
- Adds hint for missing parameters
- Ignores any number of underscore prefixes
0.8.0 - 2022-06-25
- Updates printing of subscript types and slices
- Fixes returning of binary operator types
0.7.0 - 2022-06-24
- Allows for multiple path arguments
0.6.0 - 2022-06-21
- Allows
key(word)
for**kwargs
- Updates syntax highlighting
- Fixes returning of non-subscript types
0.5.0 - 2022-06-21
- Adds check for class methods
0.4.0 - 2022-06-19
- Adds support for
**kwargs
- Adds support for
*args
0.3.0 - 2022-06-19
- Adds check for incorrectly documented params
0.2.0 - 2022-06-18
- Adds summary for failed checks
- Adds check for returns
- Adds
docsig.messages
to public scope - Ignores parameters named
_
0.1.0 - 2022-06-18
- Initial release