Commit Graph

6 Commits

Author SHA1 Message Date
Claudiu Popa
538c30ef91 Import has_known_bases and safe_infer back into pylint from astroid, until the latter stabilizes its API.
Currently astroid goes into a total revamp, having a couple of development branches with partially
incompatible APIs, which means that pylint can't rely on the exact location of has_known_bases
and safe_infer until astroid reaches a new major release. With this in mind, these two
functions are backported in pylint again.
2015-11-20 12:52:19 +02:00
Claudiu Popa
ead6051dd1 Add ChangeLog entry for too-many-nested-blocks and fix the errors in pylint. 2015-11-04 12:43:40 +02:00
Claudiu Popa
a1b3c9623a Use the new node names for the visit and leave methods
Also, emit a PendingDeprecationWarning if the old names are still
used, this support being removed in pylint 2.0.
2015-08-26 22:09:27 +03:00
Claudiu Popa
7378c72503 Update pylint to use the new astroid AST names and methods
Also improve a couple of imports and added support for the
old visit_ names. Priority will have the old visit_ names, such
as visit_discard over visit_expr, visit_callfunc over visit_call
etc.
2015-08-25 21:06:19 +03:00
Claudiu Popa
47b1c77360 Use safe_infer and has_known_bases from astroid.helpers. Closes issue #593. 2015-07-06 19:57:11 +03:00
Ionel Cristian Maries
26eb7f9a2e Move all package files to a pylint package. 2015-02-14 18:13:20 +02:00