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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: de0147e
Choose a base ref
...
head repository: pylint-dev/pylint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fc34a4b
Choose a head ref
  • 18 commits
  • 54 files changed
  • 12 contributors

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 authored 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 authored 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 authored 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 authored 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 authored 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 authored 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 and cdce8p 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] authored 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
  3. Fix a false positive for bad-dunder-name when there is a user-def…

    …ined ``__index__`` method. (#8619) (#8622)
    
    Closes #8613
    
    (cherry picked from commit f223c6d)
    
    Co-authored-by: Mark Byrne <[email protected]>
    github-actions[bot] and mbyrnepr2 authored Apr 24, 2023
    Configuration menu
    Copy the full SHA
    e507a4d View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. Configuration menu
    Copy the full SHA
    4350c6f View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2023

  1. [tomlkit] Limit the maximum version of tomlkit (#8633) (#8635)

    (cherry picked from commit a59f3d5)
    
    Co-authored-by: Pierre Sassoulas <[email protected]>
    github-actions[bot] and Pierre-Sassoulas authored Apr 28, 2023
    Configuration menu
    Copy the full SHA
    0b5defa View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2023

  1. Make sure a tool table is created in toml generation (#8638) (#…

    …8640)
    
    Co-authored-by: Pierre Sassoulas <[email protected]>
    (cherry picked from commit 434d49f)
    
    Co-authored-by: Daniël van Noord <[email protected]>
    github-actions[bot] and DanielNoord authored Apr 30, 2023
    Configuration menu
    Copy the full SHA
    fd60b72 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2023

  1. Configuration menu
    Copy the full SHA
    62083dc View commit details
    Browse the repository at this point in the history

Commits on May 6, 2023

  1. Bump pylint to 2.17.4, update changelog

    Co-authored-by: Jacob Walls <[email protected]>
    Pierre-Sassoulas and jacobtylerwalls committed May 6, 2023
    Configuration menu
    Copy the full SHA
    fc34a4b View commit details
    Browse the repository at this point in the history
Loading