Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PyCQA/pydocstyle
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5.1.1
Choose a base ref
...
head repository: PyCQA/pydocstyle
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6.0.0
Choose a head ref
  • 13 commits
  • 30 files changed
  • 6 contributors

Commits on Aug 29, 2020

  1. Update docs and copyright

    sambhav committed Aug 29, 2020
    Configuration menu
    Copy the full SHA
    bd2eb48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd3aef5 View commit details
    Browse the repository at this point in the history
  3. 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>
    plinss and sambhav authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    779e247 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2020

  1. Test on Python 3.9-dev (#509)

    * Test on Python 3.9-dev
    
    * Upgrade mypy to fix 'syntax error in type comment' with Python 3.9
    hugovk authored Aug 30, 2020
    Configuration menu
    Copy the full SHA
    17a1c64 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2020

  1. 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
    hugovk authored Aug 31, 2020
    Configuration menu
    Copy the full SHA
    408f962 View commit details
    Browse the repository at this point in the history
  2. 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>
    gibfahn and sambhav authored Aug 31, 2020
    Configuration menu
    Copy the full SHA
    d8f0931 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2020

  1. Blacken the source code and sort imports (#507)

    * Add black and isort to tox and reformat the code
    
    * Reformat comments and violations
    sambhav authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    5cbac26 View commit details
    Browse the repository at this point in the history
  2. 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>
    theyuvalraz and sambhav authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    d85735e View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2020

  1. 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.
    theyuvalraz authored Sep 13, 2020
    Configuration menu
    Copy the full SHA
    7921a6d View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2020

  1. Update release notes for #499 (#513)

    * update release notes for #499
    
    * update release notes for #499
    theyuvalraz authored Sep 19, 2020
    Configuration menu
    Copy the full SHA
    5118faa View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. Configuration menu
    Copy the full SHA
    418f76b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea3e502 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5f59f6e View commit details
    Browse the repository at this point in the history
Loading