Commit Graph

15 Commits

Author SHA1 Message Date
Claudiu Popa
ec09cc7578 Even more granular copyrights (thanks to copyrite) 2016-07-23 00:22:28 +03:00
Claudiu Popa
211d81f84f Keep a consistent copyright notice across the board.
This was changed automatically in #894, but apparently
we need to have the copyright notice somewhere.
2016-07-19 17:42:07 +03:00
Claudiu Popa
2943e249f9 Uninferable now has a false default value, so don't check it explicitly. 2016-07-16 14:24:00 +03:00
Claudiu Popa
8322781baa Add the new shorter license header, including to missing files. Close #894. 2016-06-01 16:25:07 +01:00
Jakub Wilk
f7643c06f4 Fix typos (#916)
* Split words that were inadvertently glued together

* Fix typos in the documentation

* Fix typos in message descriptions
2016-05-25 13:42:09 +01:00
Claudiu Popa
e00abd9214 Treat AsyncFunctionDef just like FunctionDef nodes
When support for Python 3.5 was added, AsyncFunctionDef
wasn't handled properly in terms of FunctionDef, which meant
that most of the checks which involved a function were never
called for AsyncFunctionDef. This led to spurious false positives
which occurred when AsyncFunctionDef were analyzed.
Closes #767
2016-01-09 17:13:51 +02:00
Claudiu Popa
60b5ced178 Basic travis support.
Some of the pylint errors were also removed.
2015-12-16 17:25:28 +02:00
Claudiu Popa
6cf07b3483 Don't emit super-on-old-class on classes with unknown bases.
The change also removes the confidence handling for super-on-old-class,
which isn't used enough to merit its existence.
Closes issue #721.
2015-12-06 14:54:52 +02:00
Claudiu Popa
4fe6bc4dcd Cleanup pylint issues
This changeset also brings a couple of changes:

   * rrheaders and rcheaders are dropped from html_writer.Table's constructor.
     They weren't used at all and it was dead code. This simplified some
     if statements.

   * _is_attribute_property is used to look for a property assignment
     instead on relying on a different implementation.
2015-11-21 19:42:08 +02:00
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