Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates pylint from 2.9.3 to 2.9.5.

Changelog

2.9.5

===========================
Release date: 2021-07-21

* Fix a crash when there would be a 'TypeError object does not support
item assignment' in the code we parse.

Closes 4439

* Fix crash if a callable returning a context manager was assigned to a list or dict item

Closes 4732

* Fix a crash when a AttributeInferenceError was not handled properly when
failing to infer the real name of an import in astroid.

Closes 4692

2.9.4

===========================
Release date: 2021-07-20

* Added ``time.clock`` to deprecated functions/methods for python 3.3

* Fix bug in which --fail-on can return a zero exit code even when the specified issue is present

Closes 4296
Closes 3363

* Fix hard failure when handling missing attribute in a class with duplicated bases

Closes 4687

* Fix false-positive ``consider-using-with`` (R1732) if a ternary conditional is used together with ``with``

Closes 4676

* Fix false-positive ``deprecated-module`` when relative import uses deprecated module name.

Closes 4629

* Fix false-positive ``consider-using-with`` (R1732) if ``contextlib.ExitStack`` takes care of calling the ``__exit__`` method

Closes 4654

* Fix a false positive for ``unused-private-member`` when mutating a private attribute
with ``cls``

Closes 4657

* Fix ignored empty functions by similarities checker with "ignore-signatures" option enabled

Closes 4652

* Fix false-positive of ``use-maxsplit-arg`` when index is incremented in
a loop

Closes 4664

* Don't emit ``cyclic-import`` message if import is guarded by ``typing.TYPE_CHECKING``.

Closes 3525

* Fix false-positive ``not-callable`` with alternative ``TypedDict`` syntax

Closes 4715

* Clarify documentation for consider-using-from-import

* Don't emit ``unreachable`` warning for empty generator functions

Closes 4698

* Don't emit ``import-error``, ``no-name-in-module``, and ``ungrouped-imports``
for imports guarded by ``sys.version_info`` or ``typing.TYPE_CHECKING``.

Closes 3285
Closes 3382

* Fix ``invalid-overridden-method`` with nested property

Closes 4368

* Fix false-positive of ``unused-private-member`` when using ``__new__`` in a class

Closes 4668

* No longer emit ``consider-using-with`` for ``ThreadPoolExecutor`` and ``ProcessPoolExecutor``
as they have legitimate use cases without a ``with`` block.

Closes 4689

* Fix crash when inferring variables assigned in match patterns

Closes 4685

* Fix a crash when a StopIteration was raised when inferring
a faulty function in a context manager.

Closes 4723
Links

@codecov
Copy link

codecov bot commented Jul 21, 2021

Codecov Report

Merging #234 (5879357) into master (deacabf) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #234   +/-   ##
=======================================
  Coverage   26.30%   26.30%           
=======================================
  Files          15       15           
  Lines        4409     4409           
=======================================
  Hits         1160     1160           
  Misses       3249     3249           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update deacabf...5879357. Read the comment docs.

@YourLocalBlake
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 22, 2021

Build succeeded:

@bors bors bot merged commit e581351 into master Jul 22, 2021
@YourLocalBlake YourLocalBlake deleted the pyup-update-pylint-2.9.3-to-2.9.5 branch July 22, 2021 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants