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: 389e14c
Choose a head ref
  • 12 commits
  • 31 files changed
  • 10 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 <theo.util@protonmail.ch>
    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 <yileiyang@google.com>
    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 <31762852+mbyrnepr2@users.noreply.github.com>
    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 <pierre.sassoulas@gmail.com>
    (cherry picked from commit 0cd41b1)
    
    Co-authored-by: RSTdefg <34202999+RSTdefg@users.noreply.github.com>
    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 <31762852+mbyrnepr2@users.noreply.github.com>
    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 <jacobtylerwalls@gmail.com>
    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 <30130371+cdce8p@users.noreply.github.com>
    (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 <pierre.sassoulas@gmail.com>
    (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
Loading