summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a disable message for redefined builtins in a test.Claudiu Popa2014-09-301-0/+1
| | | | For PyPy, __metaclass__ is considered a builtin.
* Disable too-many-ancestors for invalid exception test.Claudiu Popa2014-09-301-1/+1
| | | | | In PyPy, the number of ancestors is a little higher than the number for the same class in CPython.
* Use a with statement to prevent failures on PyPy.Claudiu Popa2014-09-301-1/+2
|
* [refs #351] Fixing functional test after a previous misunderstanding of why ↵carl2014-09-271-2/+2
| | | | it was broken. It requires the symbol of the message in a comment on the same line.
* [refs #351] Handling assignment of the string format method to a variablecarl2014-09-272-0/+11
|
* the unittest_checker_format suite wasn't runningbuck2014-09-261-0/+1
|
* Fixed problems with functional tests on Windows on Py3test-fix-for-winMichal Nowikowski2014-09-221-6/+12
|
* Fix another false positives with 'undefined-variable', where the variable ↵cpopa2014-09-182-1/+25
| | | | can be found as a class assignment and used in a function annotation. Closes issue #342.
* Port new tests to the new test framework.cpopa2014-09-176-26/+24
|
* Update the words expected from enchant spelling checker in the test.cpopa2014-09-171-8/+8
|
* Shorten some long lines.cpopa2014-09-161-8/+17
|
* Add test for issue #338.cpopa2014-09-161-0/+16
| | | | The problem was fixed in astroid, with changeset 2359964.
* func_w0302.txtfrost-nzcr4/add-max_module_lines-to-warning-message--1410770503809frost-nzcr42014-09-151-1/+1
|
* Merged in PCManticore/pylint (pull request #179)Claudiu Popa2014-09-121-0/+2
|\ | | | | | | Add a new warning, 'inherit-non-class', emitted when a class inherits from something which is not a class. Closes issue #331
| * Set maxDiff to None for LintModuleTest.cpopa2014-09-121-0/+2
| |
* | Add a new warning, 'inherit-non-class', emitted when a class inherits from ↵cpopa2014-09-122-0/+70
|/ | | | something which is not a class. Closes issue #331
* Don't emit 'unbalanced-tuple-unpacking' when the rhs of the assignment is a ↵cpopa2014-09-111-0/+9
| | | | variable length argument. Closes issue #329.
* Merge branches.cpopa2014-09-1011-2/+137
|\
| * Allow the customisation of callback identifiers. Closes issue #326.cpopa2014-09-101-1/+44
| |
| * Disable test for Python 2.cpopa2014-09-031-0/+2
| |
| * Extend the cases where 'undefined-variable' and 'used-before-assignment' can ↵cpopa2014-09-034-0/+53
| | | | | | | | be detected. Closes issue #291.
| * Fix a false positive with 'too-many-format-args', when the format string ↵cpopa2014-08-272-0/+10
| | | | | | | | contains mixed attribute access arguments and manual fields. Closes issue #322.
| * Generate html output for missing files. Closes issue #320.cpopa2014-08-251-1/+10
| |
| * Rename test files.cpopa2014-08-232-1/+1
| |
| * Avoid old-style-class for Python 2.cpopa2014-08-231-1/+1
| |
| * Fix a crash which ocurred while checking for 'method-hidden', when the ↵cpopa2014-08-232-0/+18
| | | | | | | | parent frame was something different than a function.
* | Emit warning for .format() interpolation within logging function calls.David Lindquist2014-08-192-0/+30
|/
* Ignore superfluous-parens.cpopa2014-08-191-1/+1
|
* Add a new warning, 'boolean-datetime', emitted when an instance of ↵cpopa2014-08-192-0/+38
| | | | 'datetime.time' is used in a boolean context. Closes issue #239.
* Some work on making pylint work on Python 3 without 2to3.Torsten Marek2014-08-161-2/+0
|
* Implement confidence levels.Torsten Marek2014-07-2420-84/+113
| | | | | | | - attach confidence levels to a number of messages - include confidence levels in the message object - if the confidence of a message is not HIGH or UNDEFINED, include it in the test output.
* Expected output files for the new test framework are now CSV files.Torsten Marek2014-08-1619-138/+185
| | | | | CSV files are easier to parse (messages with multi-line output were parsed with a heuristic so far), and are easier to extend with new fields.
* Extend the reporter interface with a method that takes a message object, for ↵Torsten Marek2014-08-162-4/+4
| | | | better extendability.
* Move definition of Message class out of reporters module, and make it a ↵Torsten Marek2014-08-161-3/+3
| | | | namedtuple.
* Change the multi-style name checker from first-style-wins to ↵Torsten Marek2014-07-241-4/+8
| | | | majority-style-wins.
* Emit 'catching-non-exception' for non-class nodes. Closes issue #303.cpopa2014-08-182-0/+21
|
* Revert change from 3b748b4: emit old-style-classes only for classes without ↵cpopa2014-08-182-7/+6
| | | | bases and without explicitly defined metaclasses.
* Fix test failures.cpopa2014-08-174-4/+5
|
* Check that a class has an explicitly defined metaclass before emitting ↵cpopa2014-08-174-1/+22
| | | | | | | 'old-style-class' for Python 2. This can catch metaclasses defined at module level, using `__metaclass__ = ...` syntax, which transforms all old style classes to newstyle. Also, look for the .newstyle attribute instead of bases.
* Detect calls of the parent's __init__, through a binded super() call.cpopa2014-08-162-0/+15
|
* Don't emit 'protected-access' if the attribute is accessed using a property ↵cpopa2014-08-141-0/+1
| | | | defined at the class level.
* Split class_members test for both Python versions.cpopa2014-08-146-0/+60
|
* Look in the metaclass, if defined, for members not found in the current ↵cpopa2014-08-144-36/+57
| | | | class. Closes issue #306.
* Don't emit 'unused-import' when a special object is imported (__all__, ↵cpopa2014-08-112-7/+12
| | | | __doc__ etc.). Closes issue #309.
* fixme regex handles comments without spaces after the hash. Closes issue #311.cpopa2014-08-112-1/+3
|
* Fix a false positive with 'too-few-format-args', when the format strings ↵cpopa2014-08-112-0/+6
| | | | contains duplicate manual position arguments. Closes issue #310.
* Don't count branches from nested functions.cpopa2014-08-112-0/+70
|
* Don't emit 'invalid-name' when assigning a name in an ImportError handler. ↵cpopa2014-08-092-0/+30
| | | | Closes issue #302.
* Fix an 'unused-import' false positive, when the error was emitted for all ↵cpopa2014-08-092-2/+2
| | | | the members imported with 'from import' form. Closes issue #304.
* Don't emit 'import-error' if an import was protected by a try-except, which ↵cpopa2014-08-084-6/+20
| | | | excepted ImportError.