Skip to content

Commit

Permalink
brain_numpy returns an undefined type for numpy methods to av…
Browse files Browse the repository at this point in the history
…oid ``assignment-from-no-retur

n``

Close pylint-dev/pylint#2694
  • Loading branch information
PCManticore committed Jan 25, 2019
1 parent 3de3c1f commit 9d5925f
Show file tree
Hide file tree
Showing 2 changed files with 276 additions and 272 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ What's New in astroid 2.2.0?
============================
Release Date: TBA

* ``brain_numpy`` returns an undefined type for ``numpy`` methods to avoid ``assignment-from-no-return``

Close PyCQA/pylint#2694

* Fix a bug where a call to a function that has been previously called via
functools.partial was wrongly inferred

Expand Down
Loading

2 comments on commit 9d5925f

@hippo91
Copy link
Contributor

Choose a reason for hiding this comment

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

@PCManticore are you sure return any is necessary in class declarations?

@PCManticore
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Doh, thanks for noticing that @hippo91 ! Not sure why it didn't crash. I did a replace and didn't notice the class definitions.

Please sign in to comment.