Commit Graph

13 Commits

Author SHA1 Message Date
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
d70f66698e Remove obsolete comment. 2016-07-10 15:34:10 +01:00
Claudiu Popa
575c90d19d ignored-argument-names is now used for ignoring arguments for unused-variable check.
This option was used for ignoring arguments when computing the correct number of arguments
a function should have, but for handling the arguments with regard
to unused-variable check, dummy-variables-rgx was used instead. Now, ignored-argument-names
is used for its original purpose and also for ignoring the matched arguments for
the unused-variable check. This offers a better control of what should be ignored
and how.
Also, the same option was moved from the design checker to the variables checker,
which means that the option now appears under the ``[VARIABLES]`` section inside
the configuration file.
Close #862.
2016-06-27 00:43:34 +01:00
Claudiu Popa
8322781baa Add the new shorter license header, including to missing files. Close #894. 2016-06-01 16:25:07 +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
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
Laura Médioni
913a32cb0f check the number of boolean expressions in if statement is reasonnable
--max-bool-expr option allows to configure it (by default, up to 5 are
tolerated)

closes issue #677
2015-10-29 14:33:24 +01: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
e288996ab6 Remove unused imports. 2015-05-07 22:38:57 +03:00
Claudiu Popa
9b8cdb2c15 Remove interface-not-implemented warning. Closes issue #532. 2015-05-05 11:38:28 +03:00
Claudiu Popa
66cc4feff7 Remove abstract-class-not-used, for the same reasons as star-args and abstract-class-little-referenced. 2015-03-11 18:15:47 +02:00
Claudiu Popa
4fb159bc60 Remove abstract-class-little-used warning, since it doesn't add any real value. 2015-03-11 17:24:01 +02:00
Ionel Cristian Maries
26eb7f9a2e Move all package files to a pylint package. 2015-02-14 18:13:20 +02:00