Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add a disable message for redefined builtins in a test. | Claudiu Popa | 2014-09-30 | 1 | -0/+1 | |
| | | | | For PyPy, __metaclass__ is considered a builtin. | |||||
* | Disable too-many-ancestors for invalid exception test. | Claudiu Popa | 2014-09-30 | 1 | -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 Popa | 2014-09-30 | 1 | -1/+2 | |
| | ||||||
* | [refs #351] Fixing functional test after a previous misunderstanding of why ↵ | carl | 2014-09-27 | 1 | -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 variable | carl | 2014-09-27 | 2 | -0/+11 | |
| | ||||||
* | the unittest_checker_format suite wasn't running | buck | 2014-09-26 | 1 | -0/+1 | |
| | ||||||
* | Fixed problems with functional tests on Windows on Py3test-fix-for-win | Michal Nowikowski | 2014-09-22 | 1 | -6/+12 | |
| | ||||||
* | Fix another false positives with 'undefined-variable', where the variable ↵ | cpopa | 2014-09-18 | 2 | -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. | cpopa | 2014-09-17 | 6 | -26/+24 | |
| | ||||||
* | Update the words expected from enchant spelling checker in the test. | cpopa | 2014-09-17 | 1 | -8/+8 | |
| | ||||||
* | Shorten some long lines. | cpopa | 2014-09-16 | 1 | -8/+17 | |
| | ||||||
* | Add test for issue #338. | cpopa | 2014-09-16 | 1 | -0/+16 | |
| | | | | The problem was fixed in astroid, with changeset 2359964. | |||||
* | func_w0302.txtfrost-nzcr4/add-max_module_lines-to-warning-message--1410770503809 | frost-nzcr4 | 2014-09-15 | 1 | -1/+1 | |
| | ||||||
* | Merged in PCManticore/pylint (pull request #179) | Claudiu Popa | 2014-09-12 | 1 | -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. | cpopa | 2014-09-12 | 1 | -0/+2 | |
| | | ||||||
* | | Add a new warning, 'inherit-non-class', emitted when a class inherits from ↵ | cpopa | 2014-09-12 | 2 | -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 ↵ | cpopa | 2014-09-11 | 1 | -0/+9 | |
| | | | | variable length argument. Closes issue #329. | |||||
* | Merge branches. | cpopa | 2014-09-10 | 11 | -2/+137 | |
|\ | ||||||
| * | Allow the customisation of callback identifiers. Closes issue #326. | cpopa | 2014-09-10 | 1 | -1/+44 | |
| | | ||||||
| * | Disable test for Python 2. | cpopa | 2014-09-03 | 1 | -0/+2 | |
| | | ||||||
| * | Extend the cases where 'undefined-variable' and 'used-before-assignment' can ↵ | cpopa | 2014-09-03 | 4 | -0/+53 | |
| | | | | | | | | be detected. Closes issue #291. | |||||
| * | Fix a false positive with 'too-many-format-args', when the format string ↵ | cpopa | 2014-08-27 | 2 | -0/+10 | |
| | | | | | | | | contains mixed attribute access arguments and manual fields. Closes issue #322. | |||||
| * | Generate html output for missing files. Closes issue #320. | cpopa | 2014-08-25 | 1 | -1/+10 | |
| | | ||||||
| * | Rename test files. | cpopa | 2014-08-23 | 2 | -1/+1 | |
| | | ||||||
| * | Avoid old-style-class for Python 2. | cpopa | 2014-08-23 | 1 | -1/+1 | |
| | | ||||||
| * | Fix a crash which ocurred while checking for 'method-hidden', when the ↵ | cpopa | 2014-08-23 | 2 | -0/+18 | |
| | | | | | | | | parent frame was something different than a function. | |||||
* | | Emit warning for .format() interpolation within logging function calls. | David Lindquist | 2014-08-19 | 2 | -0/+30 | |
|/ | ||||||
* | Ignore superfluous-parens. | cpopa | 2014-08-19 | 1 | -1/+1 | |
| | ||||||
* | Add a new warning, 'boolean-datetime', emitted when an instance of ↵ | cpopa | 2014-08-19 | 2 | -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 Marek | 2014-08-16 | 1 | -2/+0 | |
| | ||||||
* | Implement confidence levels. | Torsten Marek | 2014-07-24 | 20 | -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 Marek | 2014-08-16 | 19 | -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 Marek | 2014-08-16 | 2 | -4/+4 | |
| | | | | better extendability. | |||||
* | Move definition of Message class out of reporters module, and make it a ↵ | Torsten Marek | 2014-08-16 | 1 | -3/+3 | |
| | | | | namedtuple. | |||||
* | Change the multi-style name checker from first-style-wins to ↵ | Torsten Marek | 2014-07-24 | 1 | -4/+8 | |
| | | | | majority-style-wins. | |||||
* | Emit 'catching-non-exception' for non-class nodes. Closes issue #303. | cpopa | 2014-08-18 | 2 | -0/+21 | |
| | ||||||
* | Revert change from 3b748b4: emit old-style-classes only for classes without ↵ | cpopa | 2014-08-18 | 2 | -7/+6 | |
| | | | | bases and without explicitly defined metaclasses. | |||||
* | Fix test failures. | cpopa | 2014-08-17 | 4 | -4/+5 | |
| | ||||||
* | Check that a class has an explicitly defined metaclass before emitting ↵ | cpopa | 2014-08-17 | 4 | -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. | cpopa | 2014-08-16 | 2 | -0/+15 | |
| | ||||||
* | Don't emit 'protected-access' if the attribute is accessed using a property ↵ | cpopa | 2014-08-14 | 1 | -0/+1 | |
| | | | | defined at the class level. | |||||
* | Split class_members test for both Python versions. | cpopa | 2014-08-14 | 6 | -0/+60 | |
| | ||||||
* | Look in the metaclass, if defined, for members not found in the current ↵ | cpopa | 2014-08-14 | 4 | -36/+57 | |
| | | | | class. Closes issue #306. | |||||
* | Don't emit 'unused-import' when a special object is imported (__all__, ↵ | cpopa | 2014-08-11 | 2 | -7/+12 | |
| | | | | __doc__ etc.). Closes issue #309. | |||||
* | fixme regex handles comments without spaces after the hash. Closes issue #311. | cpopa | 2014-08-11 | 2 | -1/+3 | |
| | ||||||
* | Fix a false positive with 'too-few-format-args', when the format strings ↵ | cpopa | 2014-08-11 | 2 | -0/+6 | |
| | | | | contains duplicate manual position arguments. Closes issue #310. | |||||
* | Don't count branches from nested functions. | cpopa | 2014-08-11 | 2 | -0/+70 | |
| | ||||||
* | Don't emit 'invalid-name' when assigning a name in an ImportError handler. ↵ | cpopa | 2014-08-09 | 2 | -0/+30 | |
| | | | | Closes issue #302. | |||||
* | Fix an 'unused-import' false positive, when the error was emitted for all ↵ | cpopa | 2014-08-09 | 2 | -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 ↵ | cpopa | 2014-08-08 | 4 | -6/+20 | |
| | | | | excepted ImportError. |