Skip to content

Update pylint to 2.4.1#126

Merged
glenjarvis merged 1 commit into
developfrom
pyup-update-pylint-2.4.0-to-2.4.1
Sep 25, 2019
Merged

Update pylint to 2.4.1#126
glenjarvis merged 1 commit into
developfrom
pyup-update-pylint-2.4.0-to-2.4.1

Conversation

@pyup-bot
Copy link
Copy Markdown
Collaborator

This PR updates pylint from 2.4.0 to 2.4.1.

Changelog

2.4.1

===========================

Release date: 2019-09-25


* Exempt type checking definitions defined in both clauses of a type checking guard

Close 3127


* Exempt type checking definitions inside the type check guard

In a7f236528bb3758886b97285a56f3f9ce5b13a99 we added basic support
for emitting `used-before-assignment` if a variable was only defined
inside a type checking guard (using `TYPE_CHECKING` variable from `typing`)
Unfortunately that missed the case of using those type checking imports
inside the guard itself, which triggered spurious used-before-assignment errors.

Close 3119

* Require astroid >= 2.3 to avoid any compatibility issues.
Links

@glenjarvis glenjarvis merged commit 07d91e1 into develop Sep 25, 2019
@glenjarvis glenjarvis deleted the pyup-update-pylint-2.4.0-to-2.4.1 branch September 25, 2019 17:27
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.

2 participants