Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

fix(deps): update minor #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix(deps): update minor #41

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 25, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
Flask (changelog) 2.2.5 -> 2.3.3 age adoption passing confidence dependencies minor
PyJWT 2.5.0 -> 2.8.0 age adoption passing confidence dependencies minor
black (changelog) 22.8.0 -> 22.12.0 age adoption passing confidence dev minor
dependency-injector 4.40.0 -> 4.41.0 age adoption passing confidence dependencies minor
docker/build-push-action v3.1.1 -> v3.3.1 age adoption passing confidence action minor
postgres 14.5 -> 14.10 age adoption passing confidence service minor
postgres 14.5 -> 14.10 age adoption passing confidence minor
pylint (changelog) 2.15.5 -> 2.17.7 age adoption passing confidence dev minor
pytest (source, changelog) 7.1.2 -> 7.4.3 age adoption passing confidence dev minor
python 3.10.6 -> 3.12.1 age adoption passing confidence minor
python 3.10.6 -> 3.12.1 age adoption passing confidence dependencies minor
python 3.10.6-slim -> 3.12.1-slim age adoption passing confidence container minor
python 3.10.6-slim -> 3.12.1-slim age adoption passing confidence final minor
typing_extensions (changelog) 4.3.0 -> 4.9.0 age adoption passing confidence dependencies minor

Release Notes

jpadilla/pyjwt (PyJWT)

v2.8.0

Compare Source

Changed


- Update python version test matrix by @&#8203;auvipy in `#&#8203;895 <https://github.com/jpadilla/pyjwt/pull/895>`__

Fixed
~~~~~

Added
~~~~~

- Add ``strict_aud`` as an option to ``jwt.decode`` by @&#8203;woodruffw in `#&#8203;902 <https://github.com/jpadilla/pyjwt/pull/902>`__
- Export PyJWKClientConnectionError class by @&#8203;daviddavis in `#&#8203;887 <https://github.com/jpadilla/pyjwt/pull/887>`__
- Allows passing of ssl.SSLContext to PyJWKClient by @&#8203;juur in `#&#8203;891 <https://github.com/jpadilla/pyjwt/pull/891>`__

v2.7.0

Compare Source

Changed


Fixed
~~~~~

Added
~~~~~

v2.6.0

Compare Source

Changed


- Changed the error message when the token audience doesn't match the expected audience by @&#8203;irdkwmnsb `#&#8203;809 <https://github.com/jpadilla/pyjwt/pull/809>`__
- Improve error messages when cryptography isn't installed by @&#8203;Viicos in `#&#8203;846 <https://github.com/jpadilla/pyjwt/pull/846>`__
- Make `Algorithm` an abstract base class by @&#8203;Viicos in `#&#8203;845 <https://github.com/jpadilla/pyjwt/pull/845>`__
- ignore invalid keys in a jwks by @&#8203;timw6n in `#&#8203;863 <https://github.com/jpadilla/pyjwt/pull/863>`__

Fixed
~~~~~

- Add classifier for Python 3.11 by @&#8203;eseifert in `#&#8203;818 <https://github.com/jpadilla/pyjwt/pull/818>`__
- Fix ``_validate_iat`` validation by @&#8203;Viicos in `#&#8203;847 <https://github.com/jpadilla/pyjwt/pull/847>`__
- fix: use datetime.datetime.timestamp function to have a milliseconds by @&#8203;daillouf `#&#8203;821 <https://github.com/jpadilla/pyjwt/pull/821>`__
- docs: correct mistake in the changelog about verify param by @&#8203;gbillig in `#&#8203;866 <https://github.com/jpadilla/pyjwt/pull/866>`__

Added
~~~~~

- Add ``compute_hash_digest`` as a method of ``Algorithm`` objects, which uses
  the underlying hash algorithm to compute a digest. If there is no appropriate
  hash algorithm, a ``NotImplementedError`` will be raised in `#&#8203;775 <https://github.com/jpadilla/pyjwt/pull/775>`__
- Add optional ``headers`` argument to ``PyJWKClient``. If provided, the headers
  will be included in requests that the client uses when fetching the JWK set by @&#8203;thundercat1 in `#&#8203;823 <https://github.com/jpadilla/pyjwt/pull/823>`__
- Add PyJWT._{de,en}code_payload hooks by @&#8203;akx in `#&#8203;829 <https://github.com/jpadilla/pyjwt/pull/829>`__
- Add `sort_headers` parameter to `api_jwt.encode` by @&#8203;evroon in `#&#8203;832 <https://github.com/jpadilla/pyjwt/pull/832>`__
- Make mypy configuration stricter and improve typing by @&#8203;akx in `#&#8203;830 <https://github.com/jpadilla/pyjwt/pull/830>`__
- Add more types by @&#8203;Viicos in `#&#8203;843 <https://github.com/jpadilla/pyjwt/pull/843>`__
- Add a timeout for PyJWKClient requests by @&#8203;daviddavis in `#&#8203;875 <https://github.com/jpadilla/pyjwt/pull/875>`__
- Add client connection error exception by @&#8203;daviddavis in `#&#8203;876 <https://github.com/jpadilla/pyjwt/pull/876>`__
- Add complete types to take all allowed keys into account by @&#8203;Viicos in `#&#8203;873 <https://github.com/jpadilla/pyjwt/pull/873>`__
- Add `as_dict` option to `Algorithm.to_jwk` by @&#8203;fluxth in `#&#8203;881 <https://github.com/jpadilla/pyjwt/pull/881>`__
psf/black (black)

v22.12.0

Compare Source

Preview style
  • Enforce empty lines before classes and functions with sticky leading comments (#​3302)
  • Reformat empty and whitespace-only files as either an empty file (if no newline is
    present) or as a single newline character (if a newline is present) (#​3348)
  • Implicitly concatenated strings used as function args are now wrapped inside
    parentheses (#​3307)
  • For assignment statements, prefer splitting the right hand side if the left hand side
    fits on a single line (#​3368)
  • Correctly handle trailing commas that are inside a line's leading non-nested parens
    (#​3370)
Configuration
  • Fix incorrectly applied .gitignore rules by considering the .gitignore location
    and the relative path to the target file (#​3338)
  • Fix incorrectly ignoring .gitignore presence when more than one source directory is
    specified (#​3336)
Parser
  • Parsing support has been added for walruses inside generator expression that are
    passed as function args (for example,
    any(match := my_re.match(text) for text in texts)) (#​3327).
Integrations
  • Vim plugin: Optionally allow using the system installation of Black via
    let g:black_use_virtualenv = 0(#​3309)

v22.10.0

Compare Source

Highlights
  • Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be
    supported until further notice.
Stable style
  • Fix a crash when # fmt: on is used on a different block level than # fmt: off
    (#​3281)
Preview style
  • Fix a crash when formatting some dicts with parenthesis-wrapped long string keys
    (#​3262)
Configuration
  • .ipynb_checkpoints directories are now excluded by default (#​3293)
  • Add --skip-source-first-line / -x option to ignore the first line of source code
    while formatting (#​3299)
Packaging
  • Executables made with PyInstaller will no longer crash when formatting several files
    at once on macOS. Native x86-64 executables for macOS are available once again.
    (#​3275)
  • Hatchling is now used as the build backend. This will not have any effect for users
    who install Black with its wheels from PyPI. (#​3233)
  • Faster compiled wheels are now available for CPython 3.11 (#​3276)
Blackd
  • Windows style (CRLF) newlines will be preserved (#​3257).
Integrations
  • Vim plugin: add flag (g:black_preview) to enable/disable the preview style (#​3246)
  • Update GitHub Action to support formatting of Jupyter Notebook files via a jupyter
    option (#​3282)
  • Update GitHub Action to support use of version specifiers (e.g. <23) for Black
    version (#​3265)
ets-labs/python-dependency-injector (dependency-injector)

v4.41.0

Compare Source

docker/build-push-action (docker/build-push-action)

v3.3.1

Compare Source

Full Changelog: docker/build-push-action@v3.3.0...v3.3.1

v3.3.0

Compare Source

Note

Buildx v0.10 enables support for a minimal SLSA Provenance attestation, which requires support for OCI-compliant multi-platform images. This may introduce issues with registry and runtime support (e.g. Google Cloud Run and AWS Lambda). You can optionally disable the default provenance attestation functionality using provenance: false.

Full Changelog: docker/build-push-action@v3.2.0...v3.3.0

v3.2.0

Compare Source

Full Changelog: docker/build-push-action@v3.1.1...v3.2.0

pylint-dev/pylint (pylint)

v2.17.7

Compare Source

2.17.7 is the last release before we only support pylint 3.0.0 or superior and python 3.8 or superior.

False Positives Fixed

  • Fix a regression in pylint 2.17.6 / astroid 2.15.7 causing various
    messages for code involving TypeVar.

    Closes #​9069

Other Bug Fixes

  • Fix crash in refactoring checker when unary operand used with variable in for
    loop.

    Closes #​9074

v2.17.6

Compare Source

Other Bug Fixes

  • When parsing comma-separated lists of regular expressions in the config,
    ignore commas that are inside braces since those indicate quantifiers, not
    delineation between expressions.

    Closes #​7229

  • sys.argv is now always correctly considered as impossible to infer
    (instead of using the actual values given to pylint).

    Closes #​9047

  • Don't show class fields more than once in Pyreverse diagrams.

    Closes #​8189

  • Don't show arrows more than once in Pyreverse diagrams.

    Closes #​8522

  • Don't show duplicate type annotations in Pyreverse diagrams.

    Closes #​8888

  • Don't add Optional to | annotations with None in Pyreverse diagrams.

    Closes #​9014

v2.17.5

Compare Source

What's new in Pylint 2.17.5?

Release date: 2023-07-26

False Positives Fixed

  • Fix a false positive for unused-variable when there is an import in a
    if TYPE_CHECKING: block and allow-global-unused-variables is set to
    no in the configuration.

    Closes #​8696

  • Fix false positives generated when supplying arguments as **kwargs to IO
    calls like open().

    Closes #​8719

  • Fix a false positive where pylint was ignoring method calls annotated as
    NoReturn during the inconsistent-return-statements check.

    Closes #​8747

  • Exempt parents with only type annotations from the invalid-enum-extension
    message.

    Closes #​8830

Other Bug Fixes

  • Fixed crash when a call to super() was placed after an operator (e.g.
    not).

    Closes #​8554

  • Fix crash for modified-while-iterating checker when deleting
    members of a dict returned from a call.

    Closes #​8598

  • Fix crash in invalid-metaclass check when a metaclass had duplicate
    bases.

    Closes #​8698

  • Avoid consider-using-f-string on modulos with brackets in template.

    Closes #​8720.

  • Fix a crash when __all__ exists but cannot be inferred.

    Closes #​8740

  • Fix crash when a variable is assigned to a class attribute of identical name.

    Closes #​8754

  • Fixed a crash when calling copy.copy() without arguments.

    Closes #​8774

Other Changes

  • Fix a crash when a nonlocal is defined at module-level.

    Closes #​8735

v2.17.4

Compare Source

False Positives Fixed

  • Fix a false positive for bad-dunder-name when there is a user-defined
    __index__ method.

    Closes #​8613

Other Bug Fixes

  • pyreverse: added escaping of vertical bar character in annotation labels
    produced by DOT printer to ensure it is not treated as field separator of
    record-based nodes.

    Closes #​8603

  • Fixed a crash when generating a configuration file:
    tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted key
    caused by tomlkit v0.11.8.

    Closes #​8632

v2.17.3

Compare Source

What's new in Pylint 2.17.3?

Release date: 2023-04-24

False Positives Fixed

  • Fix unused-argument false positive when __new__ does not use all the
    arguments of __init__.

    Closes #​3670

  • Fix unused-import false positive for usage of six.with_metaclass.

    Closes #​7506

  • logging-not-lazy is not longer emitted for explicitly concatenated string
    arguments.

    Closes #​8410

  • Fix false positive for isinstance-second-argument-not-valid-type when union
    types contains None.

    Closes #​8424

  • Fixed unused-import so that it observes the dummy-variables-rgx option.

    Closes #​8500

  • Union typed variables without assignment are no longer treated as
    TypeAlias.

    Closes #​8540

  • Fix false positive for positional-only-arguments-expected when a function
    contains both a positional-only parameter that has a default value, and
    **kwargs.

    Closes #​8555

  • Fix false positive for keyword-arg-before-vararg when a positional-only
    parameter with a default value precedes *args.

    Closes #​8570

Other Bug Fixes

  • Improve output of consider-using-generator message for min()` calls with default`` keyword.

    Closes #​8563

v2.17.2

Compare Source

False Positives Fixed

  • invalid-name now allows for integers in typealias names:

    • now valid: Good2Name, GoodName2.
    • still invalid: _1BadName.

    Closes #​8485

  • No longer consider Union as type annotation as type alias for naming
    checks.

    Closes #​8487

  • unnecessary-lambda no longer warns on lambdas which use its parameters in
    their body (other than the final arguments), e.g.
    lambda foo: (bar if foo else baz)(foo).

    Closes #​8496

Other Bug Fixes

  • Fix a crash in pyreverse when "/" characters are used in the output filename
    e.g pyreverse -o png -p name/ path/to/project.

    Closes #​8504

v2.17.1

Compare Source

False Positives Fixed

  • Adds asyncSetUp to the default defining-attr-methods list to silence
    attribute-defined-outside-init warning when using
    unittest.IsolatedAsyncioTestCase.

    Refs #​8403

Other Bug Fixes

  • --clear-cache-post-run now also clears LRU caches for pylint utilities
    holding references to AST nodes.

    Closes #​8361

  • Fix a crash when TYPE_CHECKING is used without importing it.

    Closes #​8434

  • Fix a regression of preferred-modules where a partial match was used
    instead of the required full match.

    Closes #​8453

Internal Changes

  • The following utilities are deprecated in favor of the more robust
    in_type_checking_block
    and will be removed in pylint 3.0:

    • is_node_in_guarded_import_block
    • is_node_in_typing_guarded_import_block
    • is_typing_guard

    is_sys_guard is still available, which was part of
    is_node_in_guarded_import_block.

    Refs #​8433

v2.17.0

Compare Source

2.17 is a small release that is the first to support python 3.11 officially
with the addition of TryStar nodes.

There's still two new default checks: bad-chained-comparison and
implicit-flag-alias, one of them already fixed a previously undetected
bug in sentry.

Thanks to the community effort our documentation is almost complete,
and almost all messages should have a proper documentation now.
A big thank you to everyone who participated !

The next release is going to be 3.0.0, bring breaking changes and
enact long announced deprecations. There's going to be frequent beta
releases, before the official releases, everyone is welcome to try the betas
so we find problems before the actual release.

What's new in Pylint 2.17.0?

Release date: 2023-03-08

New Features

  • pyreverse now supports custom color palettes with the --color-palette
    option.

    Closes #​6738

  • Add invalid-name check for TypeAlias names.

    Closes #​7081

  • Accept values of the form <class name>.<attribute name> for the
    exclude-protected list.

    Closes #​7343

  • Add --version option to pyreverse.

    Refs #​7851

  • Adds new functionality with preferred-modules configuration to detect
    submodules.

    Refs #​7957

  • Support implicit namespace packages (PEP 420).

    Closes #​8154

  • Add globbing pattern support for --source-roots.

    Closes #​8290

  • Support globbing pattern when defining which file/directory/module to lint.

    Closes #​8310

  • pylint now supports TryStar nodes from Python 3.11 and should be fully
    compatible with Python 3.11.

    Closes #​8387

New Checks

  • Add a bad-chained-comparison check that emits a warning when
    there is a chained comparison where one expression is semantically
    incompatible with the other.

    Closes #​6559

  • Adds an implicit-flag-alias check that emits a warning when a class
    derived from enum.IntFlag assigns distinct integer values that share
    common bit positions.

    Refs #​8102

False Positives Fixed

  • Fix various false positives for functions that return directly from
    structural pattern matching cases.

    Closes #​5288

  • Fix false positive for used-before-assignment when
    typing.TYPE_CHECKING is used with if/elif/else blocks.

    Closes #​7574

  • Fix false positive for isinstance-second-argument-not-valid-type with union
    types.

    Closes #​8205

  • Fix false positive for used-before-assignment for named expressions
    appearing after the first element in a list, tuple, or set.

    Closes #​8252

  • Fix false positive for wrong-spelling-in-comment with class names in a
    python 2 type comment.

    Closes #​8370

False Negatives Fixed

  • Fix a false negative for 'missing-parentheses-for-call-in-test' when
    inference
    failed for the internal of the call as we did not need that information to
    raise
    correctly.

    Refs #​8185

  • Fix false negative for inconsistent-returns with while-loops.

    Closes #​8280

Other Bug Fixes

  • Fix used-before-assignment false positive when the walrus operator
    is used with a ternary operator in dictionary key/value initialization.

    Closes #​8125

  • Fix no-name-in-module false positive raised when a package defines a
    variable with the
    same name as one of its submodules.

    Closes #​8148

  • Fix a crash happening for python interpreter < 3.9 following a failed typing
    update.

    Closes #​8161

  • Fix nested-min-max suggestion message to indicate it's possible to splat
    iterable objects.

    Closes #​8168

  • Fix a crash happening when a class attribute was negated in the start
    argument of an enumerate.

    Closes #​8207

  • Prevent emitting invalid-name for the line on which a global
    statement is declared.

    Closes #​8307

Other Changes

  • Update explanation for global-variable-not-assigned and add confidence.

    Closes #​5073

  • The governance model and the path to become a maintainer have been documented
    as part of our effort to guarantee that the software supply chain in which pylint is included is secure.

    Refs #​8329

v2.16.4

Compare Source

False Positives Fixed

  • Fix false positive for isinstance-second-argument-not-valid-type with union
    types.

    Closes #​8205

v2.16.3

Compare Source

False Positives Fixed

  • Fix false positive for wrong-spelling-in-comment with class names in a
    python 2 type comment.

    Closes #​8370

Other Bug Fixes

  • Prevent emitting invalid-name for the line on which a global
    statement is declared.

    Closes #​8307

v2.16.2

Compare Source

New Features

  • Add --version option to pyreverse.

    Refs #​7851

False Positives Fixed

  • Fix false positive for used-before-assignment when
    typing.TYPE_CHECKING is used with if/elif/else blocks.

    Closes #​7574

  • Fix false positive for used-before-assignment for named expressions
    appearing after the first element in a list, tuple, or set.

    Closes #​8252

Other Bug Fixes

  • Fix used-before-assignment false positive when the walrus operator
    is used with a ternary operator in dictionary key/value initialization.

    Closes #​8125

  • Fix no-name-in-module false positive raised when a package defines a
    variable with the same name as one of its submodules.

    Closes #​8148

  • Fix nested-min-max suggestion message to indicate it's possible to splat
    iterable objects.

    Closes #​8168

  • Fix a crash happening when a class attribute was negated in the start
    argument of an enumerate.

    Closes #​8207

v2.16.1

Compare Source

Other Bug Fixes

  • Fix a crash happening for python interpreter < 3.9 following a failed typing
    update.

    Closes #​8161

v2.16.0

Compare Source

Summary -- Release highlights

In 2.16.0 we added aggregation and composition understanding in pyreverse, and a way to clear
the cache in between run in server mode (originally for the VS Code integration). Apart from the bug
fixes there's also a lot of new checks, and new extensions that have been asked for for a long time
that were implemented.

If you want to benefit from all the new checks load the following plugins::

pylint.extensions.dict_init_mutate,
pylint.extensions.dunder,
pylint.extensions.typing,
pylint.extensions.magic_value,

We still welcome any community effort to help review, integrate, and add good/bad examples to the doc for
#​5953. This should be doable without any pylint or astroid
knowledge, so this is the perfect entrypoint if you want to contribute to pylint or open source without
any experience with our code!

Last but not least @​clavedeluna and @​nickdrozd became triagers, welcome to the team !

What's new in Pylint 2.16.0?

Changes requiring user actions

  • The accept-no-raise-doc option related to missing-raises-doc will now
    be correctly taken into account all the time.

    Pylint will no longer raise missing-raises-doc (W9006) when no exceptions are
    documented and accept-no-raise-doc is true (issue #​7208).
    If you were expecting missing-raises-doc errors to be raised in that case,
    you
    will now have to add accept-no-raise-doc=no in your configuration to keep
    the same behavior.
    Closes #​7208

New Features

  • Added the no-header output format. If enabled with
    --output-format=no-header, it will not include the module name in the
    output.
    Closes #​5362

  • Added configuration option clear-cache-post-run to support server-like
    usage.
    Use this flag if you expect the linted files to be altered between runs.
    Refs #​5401

  • Add --allow-reexport-from-package option to configure the
    useless-import-alias check not to emit a warning if a name
    is reexported from a package.
    Closes #​6006

  • Update pyreverse to differentiate between aggregations and compositions.
    pyreverse checks if it's an Instance or a Call of an object via method
    parameters (via type hints)
    to decide if it's a composition or an aggregation.
    Refs #​6543

New Checks

  • Adds a pointless-exception-statement check that emits a warning when an
    Exception is created and not assigned, raised or returned.
    Refs #​3110

  • Add a shadowed-import message for aliased imports.
    Closes #​4836

  • Add new check called unbalanced-dict-unpacking to check for unbalanced
    dict unpacking
    in assignment and for loops.
    Closes #​5797

  • Add new checker positional-only-arguments-expected to check for cases
    when
    positional-only arguments have been passed as keyword arguments.
    Closes #​6489

  • Added singledispatch-method which informs that @singledispatch should
    decorate functions and not class/instance methods.
    Added singledispatchmethod-function which informs that
    @singledispatchmethod should decorate class/instance methods and not
    functions.
    Closes #​6917

  • Rename broad-except to broad-exception-caught and add new checker
    broad-exception-raised
    which will warn if general exceptions BaseException or Exception are
    raised.
    Closes #​7494

  • Added nested-min-max which flags min(1, min(2, 3)) to simplify to
    min(1, 2, 3).
    Closes #​7546

  • Extended use-dict-literal to also warn about call to dict() when
    passing keyword arguments.
    Closes #​7690

  • Add named-expr-without-context check to emit a warning if a named
    expression is used outside a context like if, for, while, or
    a comprehension.
    Refs #​7760

  • Add invalid-slice-step check to warn about a slice step value of 0
    for common builtin sequences.
    Refs #​7762

  • Add consider-refactoring-into-while-condition check to recommend
    refactoring when
    a while loop is defined with a constant condition with an immediate if
    statement to check for break condition as a first statement.
    Closes #​8015

Extensions

  • Add new extension checker dict-init-mutate that flags mutating a
    dictionary immediately
    after the dictionary was created.
    Closes #​2876

  • Added bad-dunder-name extension check, which flags bad or misspelled
    dunder methods.
    You can use the good-dunder-names option to allow specific dunder names.
    Closes #​3038

  • Added consider-using-augmented-assign check for CodeStyle extension
    which flags x = x + 1 to simplify to x += 1.
    This check is disabled by default. To use it, load the code style extension
    with load-plugins=pylint.extensions.code_style and add
    consider-using-augmented-assign in the enable option.
    Closes #​3391

  • Add magic-number plugin checker for comparison with constants instead of
    named constants or enums.
    You can use it with --load-plugins=pylint.extensions.magic_value.
    Closes #​7281

  • Add redundant-typehint-argument message for typing plugin for duplicate
    assign typehints.
    Enable the plugin to enable the message with:
    --load-plugins=pylint.extensions.typing.
    Closes #​7636

False Positives Fixed

  • Fix false positive for unused-variable and unused-import when a name
    is only used in a string literal type annotation.
    Closes #​3299

  • Document a known false positive for useless-suppression when disabling
    line-too-long in a module with only comments and no code.
    Closes #​3368

  • trailing-whitespaces is no longer reported within strings.
    Closes #​3822

  • Fix false positive for global-variable-not-assigned when a global
    variable is re-assigned via an ImportFrom node.
    Closes #​4809

  • Fix false positive for use-maxsplit-arg with custom split method.
    Closes #​4857

  • Fix logging-fstring-interpolation false positive raised when logging and
    f-string with %s formatting.
    Closes #​4984

  • Fix false-positive for used-before-assignment in pattern matching
    with a guard.
    Closes #​5327

  • Fix use-sequence-for-iteration when unpacking a set with *.
    Closes #​5788

  • Fix deprecated-method false positive when alias for method is similar to
    name of deprecated method.
    Closes #​5886

  • Fix false positive assigning-non-slot when a class attribute is
    re-assigned.
    Closes #​6001

  • Fix false positive for too-many-function-args when a function call is
    assigned to a class attribute inside the class where the function is defined.
    Closes #​6592

  • Fixes false positive abstract-method on Protocol classes.
    Closes #​7209

  • Pylint now understands the kw_only keyword argument for dataclass.
    Closes #​7290, closes #​6550, closes #​5857

  • Fix false positive for undefined-loop-variable in for-else loops that
    use a function
    having a return type annotation of NoReturn or Never.
    Closes #​7311

  • Fix used-before-assignment for functions/classes defined in type checking
    guard.
    Closes #​7368

  • Fix false positive for unhashable-member when subclassing dict and
    using the subclass as a dictionary key.
    Closes #​7501

  • Fix the message for unnecessary-dunder-call for __aiter__ and
    __aneext__. Also
    only emit the warning when py-version >= 3.10.
    Closes #​7529

  • Fix used-before-assignment false positive when else branch calls
    sys.exit or similar terminating functions.
    Closes #​7563

  • Fix a false positive for used-before-assignment for imports guarded by
    typing.TYPE_CHECKING later used in variable annotations.
    Closes #​7609

  • Fix a false positive for simplify-boolean-expression when multiple values
    are inferred for a constant.
    Closes #​7626

  • unnecessary-list-index-lookup will not be wrongly emitted if
    enumerate is called with start.
    Closes #​7682

  • Don't warn about stop-iteration-return when using next() over
    itertools.cycle.
    Closes #​7765

  • Fixes used-before-assignment false positive when the walrus operator
    is used in a ternary operator.
    Closes #​7779

  • Fix missing-param-doc false positive when function parameter has an
    escaped underscore.
    Closes #​7827

  • Fixes method-cache-max-size-none false positive for methods inheriting
    from Enum.
    Closes #​7857

  • multiple-statements no longer triggers for function stubs using inlined
    ....
    Closes #​7860

  • Fix a false positive for used-before-assignment when a name guarded by
    if TYPE_CHECKING: is used as a type annotation in a function body and
    later re-imported in the same scope.
    Closes #​7882

  • Prevent used-before-assignment when imports guarded by if TYPE_CHECKING
    are guarded again when used.
    Closes #​7979

  • Fixes false positive for try-except-raise with multiple exceptions in one
    except statement if exception are in different namespace.
    Closes #​8051

  • Fix invalid-name errors for typing_extension.TypeVar.
    Refs #​8089

  • Fix no-kwoa false positive for context managers.
    Closes #​8100

  • Fix a false positive for redefined-variable-type when async methods
    are present.
    Closes #​8120

False Negatives Fixed

  • Code following a call to quit, exit, sys.exit or os._exit
    will be marked as unreachable.
    Refs #​519

  • Emit used-before-assignment when function arguments are redefined inside
    an inner function and accessed there before assignment.
    Closes #​2374

  • Fix a false negative for unused-import when one module used an import in
    a type annotation that was also used in another module.
    Closes #​4150

  • Flag superfluous-parens if parentheses are used during string
    concatenation.
    Closes #​4792

  • Emit used-before-assignment when relying on names only defined under
    conditions always testing false.
    Closes #​4913

  • consider-using-join can now be emitted for non-empty string separators.
    Closes #​6639

  • Emit used-before-assignment for further imports guarded by
    TYPE_CHECKING
    Previously, this message was only emitted for imports guarded directly under
    TYPE_CHECKING, not guarded two if-branches deep, nor when
    TYPE_CHECKING
    was imported from typing under an alias.
    Closes #​7539

  • Fix a false negative for unused-import when a constant inside
    typing.Annotated was treated as a reference to an import.
    Closes #​7547

  • consider-using-any-or-all message will now be raised in cases when
    boolean is initialized, reassigned during loop, and immediately returned.
    Closes #​7699

  • Extend invalid-slice-index to emit an warning for invalid slice indices
    used with string and byte sequences, and range objects.
    Refs #​7762

  • Fixes unnecessary-list-index-lookup false negative when enumerate is
    called with iterable as a kwarg.
    Closes #​7770

  • no-else-return or no-else-raise will be emitted if except block
    always returns or raises.
    Closes #​7788

  • Fix dangerous-default-value false negative when * is used.
    Closes #​7818

  • consider-using-with now triggers for pathlib.Path.open.
    Closes #​7964

Other Bug Fixes

  • Fix bug in detecting unused-variable when iterating on variable.
    Closes #​3044

  • Fix bug in scanning of names inside arguments to typing.Literal.
    See https://peps.python.org/pep-0586/#literals-enums-and-forward-references
    for details.
    Refs #​3299

  • Update disallowed-name check to flag module-level variables.
    Closes #​3701

  • Pylint will no longer deadlock if a parallel job is killed but fail
    immediately instead.
    Closes #​3899

  • Fix ignored files being linted when passed on stdin.
    Closes #​4354

  • Fix no-member false negative when augmented assign is done manually,
    without +=.
    Closes #​4562

  • Any assertion on a populated tuple will now receive a assert-on-tuple
    warning.
    Closes #​4655

  • missing-return-doc, missing-raises-doc and missing-yields-doc now
    respect
    the no-docstring-rgx option.
    Closes #​4743

  • Update reimported help message for clarity.
    Closes #​4836

  • consider-iterating-dictionary will no longer be raised if bitwise
    operations are used.
    Closes #​5478

  • Using custom braces in msg-template will now work properly.
    Closes #​5636

  • Pylint will now filter duplicates given to it before linting. The output
    should
    be the same whether a file is given/discovered multiple times or not.
    Closes #​6242, #​4053

  • Remove __index__ dunder method call from unnecessary-dunder-call
    check.
    Closes #​6795

  • Fixed handling of -- as separator between positional arguments and flags.
    This was not actually fixed in 2.14.5.
    Closes #​7003, Refs #​7096

  • Don't crash on OSError in config fil


Configuration

📅 Schedule: Branch creation - "after 9pm,before 5am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner October 25, 2022 22:03
github-actions[bot]
github-actions bot previously approved these changes Oct 25, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Nov 11, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Dec 8, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Dec 9, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@renovate renovate bot changed the title fix(deps): update minor Update minor Dec 17, 2022
@renovate renovate bot changed the title Update minor fix(deps): update minor Dec 17, 2022
github-actions[bot]
github-actions bot previously approved these changes Dec 19, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Mar 18, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Apr 3, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@github-advanced-security
Copy link

You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

github-actions[bot]
github-actions bot previously approved these changes Apr 17, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes May 28, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Sep 18, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Sep 19, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Sep 25, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Oct 1, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Oct 3, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Oct 3, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Oct 24, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Nov 14, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

github-actions[bot]
github-actions bot previously approved these changes Dec 8, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

sonarcloud bot commented Dec 10, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants