-
Notifications
You must be signed in to change notification settings - Fork 188
Comparing changes
Open a pull request
base repository: PyCQA/pydocstyle
base: 5.1.1
head repository: PyCQA/pydocstyle
compare: 6.0.0
- 13 commits
- 30 files changed
- 6 contributors
Commits on Aug 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bd2eb48 - Browse repository at this point
Copy the full SHA bd2eb48View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd3aef5 - Browse repository at this point
Copy the full SHA fd3aef5View commit details -
Add disable_skip_errors flag to ConventionChecker API (#485)
* Add disable_skip_errors flag to ConventionChecker API Added to ConventionChecker.check_source() and ConventionChecker.check(). This allows other systems that integrate pydocstyle, such as flake8-docstyle, to request errors that are otherwise skipped due to # noqa comments. Added test for skip_errors feature in general and with this flag. Fixes #484 * Update release notes * rename argument to ignore inline noqa comments * Add docstring description of new argument * Move release note Co-authored-by: Sambhav Kothari <sambhavs.email@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 779e247 - Browse repository at this point
Copy the full SHA 779e247View commit details
Commits on Aug 30, 2020
-
* Test on Python 3.9-dev * Upgrade mypy to fix 'syntax error in type comment' with Python 3.9
Configuration menu - View commit details
-
Copy full SHA for 17a1c64 - Browse repository at this point
Copy the full SHA 17a1c64View commit details
Commits on Aug 31, 2020
-
Drop support for Python 3.5 (#510)
* Drop support for Python 3.5 * Upgrade Python syntax with pyupgrade --py36-plus * Drop support for Python 3.5 * Remove D302, redundant now Python 2 is dropped
Configuration menu - View commit details
-
Copy full SHA for 408f962 - Browse repository at this point
Copy the full SHA 408f962View commit details -
Allow package as an imperative verb in D401 (#356)
If a docstring starts with "Package" it's probably something like: ```python """Package the files into a tarball.""" ``` So don't flag it in D401. Co-authored-by: Sambhav Kothari <sambhavs.email@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d8f0931 - Browse repository at this point
Copy the full SHA d8f0931View commit details
Commits on Sep 5, 2020
-
Blacken the source code and sort imports (#507)
* Add black and isort to tox and reformat the code * Reformat comments and violations
Configuration menu - View commit details
-
Copy full SHA for 5cbac26 - Browse repository at this point
Copy the full SHA 5cbac26View commit details -
Adding tests for parsing one line functions/ Fixing parser bug. (#499)
* Added tests for parsing "One line functions" The tests look valid but don't pass. from debugging looks like the parser cant find the decorator, although it has no problem finding the function and accepting it as valid. * Fix parser.py to work on one line functions. * PEP8 fixes. * Adding a test for multiple decorators over a "single line function". * Added tests for single line function with decorator. 1. oneliner_with_decorator_expecting_errors(): The decorator is not ignored, expecting the D400, D415 errors. 2. valid_oneliner_with_decorator(): A valid one line function that shouldn't produce any errors. * Added tests for single line function with decorator. 1. oneliner_with_decorator_expecting_errors(): The decorator is not ignored, expecting the D400, D415 errors. 2. valid_oneliner_with_decorator(): A valid one line function that shouldn't produce any errors. Co-authored-by: Sambhav Kothari <sambhavs.email@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d85735e - Browse repository at this point
Copy the full SHA d85735eView commit details
Commits on Sep 13, 2020
-
Prevent D103 errors when the function is decorated with @overload and…
… add D418 (#511) * Preventing the D103 error when the function is decorated with @overload. Added an is_overload method in the function class(parser.py). Added an if statement so that the D103 error will not trigger when decorated with @overload(checker.py) Added some tests to see that it's working correctly. * Preventing the D103 error when the function is decorated with @overload. Added an is_overload method in the function class(parser.py). Added an if statement so that the D103 error will not trigger when decorated with @overload(checker.py) Added some tests to see that it's working correctly. * Added an is_overload method in the function class(parser.py). Added an if statement so that the D103 error will not trigger when decorated with @overload(checker.py) Added some tests to see that it's working correctly. * Fixing overload test. * Fixing overload test. Running isort src/pydocstyle * Added D418 Error: Function decorated with @overload shouldn\'t contain a docstring. * Overloaded functions shouldn't have a definition. * Tests for D418 error: Functions decorated with @overload * Tests for D418 error: Functions decorated with @overload * Tests for D418 error: Functions decorated with @overload * Added Tests for nested_functions/methods that are decorated with @overload checker is also preventing the 102 error in methods that are decorated with @overload. (checker.py) Any suggestions on how to write those if statements more elegantly? I really don't like the nested if statement. * Added Tests for valid overloaded functions, valid overloaded Method and overloaded Methods with D418 Error. * Added Tests for valid overloaded nested functions. * release_notes.rst updated. * release_notes.rst updated.
Configuration menu - View commit details
-
Copy full SHA for 7921a6d - Browse repository at this point
Copy the full SHA 7921a6dView commit details
Commits on Sep 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5118faa - Browse repository at this point
Copy the full SHA 5118faaView commit details
Commits on Mar 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 418f76b - Browse repository at this point
Copy the full SHA 418f76bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea3e502 - Browse repository at this point
Copy the full SHA ea3e502View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f59f6e - Browse repository at this point
Copy the full SHA 5f59f6eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 5.1.1...6.0.0