Skip to content
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: pylint-dev/pylint Loading
base: v2.17.1
Choose a base ref
...
head repository: pylint-dev/pylint Loading
compare: v2.17.3
Choose a head ref
  • 20 commits
  • 41 files changed
  • 15 contributors

Commits on Mar 23, 2023

  1. Don't consider Union to always be a type alias (#8489)

    Co-authored-by: Pierre Sassoulas <[email protected]>
    (cherry picked from commit 07127ee)
    DanielNoord committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    ebf1952 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Fix unnecessary-lambda false positive for lambdas using its paramet…

    …ers in their body (#8498) (#8506)
    
    Fixes #8496
    
    (cherry picked from commit b621436)
    
    Co-authored-by: cherryblossom <[email protected]>
    github-actions[bot] and cherryblossom000 committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    d429822 View commit details
    Browse the repository at this point in the history
  2. [Backport maintenance/2.17.x] Allow integers in TypeAlias names. (#8507)

    Co-authored-by: Stephane Odul <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    4e11693 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2023

  1. Don't use removed function from astroid (#8525) (#8526)

    (cherry picked from commit f7bd676)
    
    Co-authored-by: Daniël van Noord <[email protected]>
    github-actions[bot] and DanielNoord committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    538c41b View commit details
    Browse the repository at this point in the history
  2. [pyreverse] Bugfix: strip "/" at the end of the file (#8517) (#8528)

    Signed-off-by: Alvaro Frias Garay <[email protected]>
    Co-authored-by: Pierre Sassoulas <[email protected]>
    (cherry picked from commit 6ad17fb)
    
    Co-authored-by: Alvaro Frias <[email protected]>
    github-actions[bot] and qequ committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    6dda042 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Configuration menu
    Copy the full SHA
    574edc3 View commit details
    Browse the repository at this point in the history
  2. [Backport maintenance/2.17.x] Add regression test for #7506 (#8531)

    * Add regression test for #7506 (#8432)
    
    (cherry picked from commit 1fa16c2)
    
    ---------
    
    Co-authored-by: Pierre Sassoulas <[email protected]>
    Co-authored-by: Jacob Walls <[email protected]>
    3 people committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    84c197d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    de0147e View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Fix check unused arguments false positive bug (#8542) (#8545)

    Problem: the special method `__new__` must match the arguments of the
    `__init__` method even if `__new__` method does not use them. This
    generate `unused-argument` for the `__new__` method.
    
    Fix: the unused arguments check should not be done on the `__new__`
    method if the `__init__` method is defined in the same class.
    
    Update `unused-argument` test to include a check for the case of
    `__init__` and `__new__` being defined in a class but `__new__` does not
    use all of the argument. This is fine because `__new__` must have the
    same argument of `__init__`.
    
    Update with a second check in case of `__init__` being not defined in a
    class. Then the unused arguments check must be done on `__new__`.
    
    Fixes #3670
    
    (cherry picked from commit 156da64)
    
    Co-authored-by: Théo Battrel <[email protected]>
    github-actions[bot] and Emplis committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    84d4959 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2023

  1. Do not emit logging-not-lazy for explicitly concatenated strings. (#…

    …8546)
    
    (cherry picked from commit eeddd66)
    yilei authored and DanielNoord committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    011c6ac View commit details
    Browse the repository at this point in the history
  2. Fix typelias invalid-name false positives for Union variables witho…

    …ut assignment. (#8541) (#8548)
    
    (cherry picked from commit cb255ea)
    
    Co-authored-by: Yilei "Dolee" Yang <[email protected]>
    github-actions[bot] and yilei committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    ed67cc8 View commit details
    Browse the repository at this point in the history
  3. Fix isinstance-second-argument-not-valid-type for union types with None

    (cherry picked from commit b5f2b01)
    Rogdham authored and DanielNoord committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    bcceff6 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2023

  1. Fix false positive for positional-only-arguments-expected when a …

    …function contains both a positional-only parameter that has a default value, and ``**kwargs``. (#8556) (#8560)
    
    (cherry picked from commit db17860)
    
    Co-authored-by: Mark Byrne <[email protected]>
    github-actions[bot] and mbyrnepr2 committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    61dae1e View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Fix unused-import to checkdummy-variables-rgx (#8566) (#8568)

    Resolve #8500
    
    Co-authored-by: Pierre Sassoulas <[email protected]>
    (cherry picked from commit 0cd41b1)
    
    Co-authored-by: RSTdefg <[email protected]>
    github-actions[bot] and RSTdefg committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    16fe498 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2023

  1. Fix false positive for keyword-arg-before-vararg (#8571) (#8578)

    * Fix false positive for ``keyword-arg-before-vararg`` when a positional-only parameter with a default value precedes ``*args``.
    
    Closes #8570
    
    (cherry picked from commit 56fa5dc)
    
    Co-authored-by: Mark Byrne <[email protected]>
    github-actions[bot] and mbyrnepr2 committed Apr 15, 2023
    Configuration menu
    Copy the full SHA
    ec96bdc View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2023

  1. Improve output of consider-using-generator message for min() call…

    …s with `default` keyword (#8582) (#8583)
    
    (cherry picked from commit 4a485e2)
    
    Co-authored-by: Jacob Walls <[email protected]>
    github-actions[bot] and jacobtylerwalls committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    1dba30b View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2023

  1. Upgrade astroid to 2.15.3 (#8584)

    Co-authored-by: Marc Mueller <[email protected]>
    (cherry picked from commit 3d036b7)
    Pierre-Sassoulas committed Apr 23, 2023
    Configuration menu
    Copy the full SHA
    5f7e2a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2936a5 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Upgrade astroid to 2.15.4 (#8615) (#8618)

    Co-authored-by: Pierre Sassoulas <[email protected]>
    (cherry picked from commit a83137d)
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    github-actions[bot] and dependabot[bot] committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    3fc153a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    389e14c View commit details
    Browse the repository at this point in the history
Loading