Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Improve the octal regex. | Claudiu Popa | 2014-11-18 | 1 | -2/+3 | |
| | | ||||||
* | | Fix more false positives for old-octal-literal. | Claudiu Popa | 2014-11-18 | 1 | -4/+5 | |
| | | ||||||
* | | Fix the flawed check of old octal syntax. | Claudiu Popa | 2014-11-17 | 1 | -0/+5 | |
| | | ||||||
* | | Add 'implicit-map-evaluation' to Python 3 porting checker. | Claudiu Popa | 2014-11-17 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | This warning is emitted when encountering the use of map builtin, without explicit evaluation, as in "map(func, args)" on a single line. This behaviour is removed in Python 3, where map is a generator and must be explicitly evaluated. | |||||
* | | Add hex, oct, nonzero and cmp to the list of methods removed in Python 3. | Claudiu Popa | 2014-11-17 | 1 | -0/+12 | |
| | | ||||||
* | | Simplify special methods test. | Claudiu Popa | 2014-11-17 | 1 | -26/+10 | |
| | | ||||||
* | | Simplify the bad builtin test. | Claudiu Popa | 2014-11-17 | 1 | -50/+18 | |
| | | ||||||
* | | Use python2_only as a class decorator. | Claudiu Popa | 2014-11-17 | 1 | -3/+1 | |
| | | ||||||
* | | Simplify token-based tests in unittest_checker_python3. | Claudiu Popa | 2014-11-17 | 1 | -12/+9 | |
| | | ||||||
* | | Add 'old-octal-literal' to Python 3 porting checker. | Claudiu Popa | 2014-11-17 | 1 | -0/+7 | |
| | | | | | | | | | | This warning is emitted when encountering octals with the old syntax, in the form '0number'. | |||||
* | | Warn when encountering the reload builtin. | Claudiu Popa | 2014-11-17 | 1 | -0/+4 | |
| | | ||||||
* | | Add a new CLI option, '--py3k'. | Claudiu Popa | 2014-11-17 | 16 | -43/+67 | |
| | | | | | | | | | | | | | | | | | | This option will enable the Python 3 porting mode. This mode will emit warnings and errors for constructs invalid or removed in Python 3, helping the users of Pylint to port their projects. | |||||
* | | Move create_file_backed_module to testutils. | Claudiu Popa | 2014-11-16 | 1 | -26/+5 | |
| | | ||||||
* | | Add support for disabling a checker. | Claudiu Popa | 2014-11-16 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | A checker can be disabled (all of its messages will not be emitted) by specifying an 'enabled' attribute on the checker class. Currently, this is used to disable the Python3 porting checker, which will be enabled by the '--py3k' flag. | |||||
* | | Add support for using both --jobs and -m switch on Windows and Python 2. | Claudiu Popa | 2014-11-16 | 1 | -3/+0 | |
| | | ||||||
* | | Make most tests run unmodified under Python 3.4. | Torsten Marek | 2014-11-09 | 7 | -31/+39 | |
| | | ||||||
* | | Move old-ne-operator to the python3 porting checker. | Claudiu Popa | 2014-11-15 | 1 | -1/+1 | |
| | | ||||||
* | | Move backtick warning in python3 porting checker. | Claudiu Popa | 2014-11-15 | 1 | -1/+1 | |
| | | ||||||
* | | Add 'long-suffix' error, emitted when encountering the long suffix | Claudiu Popa | 2014-11-15 | 2 | -2/+15 | |
| | | | | | | | | | | | | | | on numbers. This is sligthly different than lowercase-l-suffix, so it's a new error instead of overwriting that one. | |||||
* | | Move tokenize_str from tests to testutils. | Claudiu Popa | 2014-11-15 | 2 | -15/+8 | |
| | | ||||||
* | | Move old-raise-syntax to the python3 porting checker. | Claudiu Popa | 2014-11-15 | 1 | -1/+1 | |
| | | ||||||
* | | Update the test message for raising-bad-type. | Claudiu Popa | 2014-11-15 | 2 | -5/+5 | |
| | | ||||||
* | | Move raising-string to the python3 porting checker. | Claudiu Popa | 2014-11-15 | 2 | -2/+2 | |
| | | ||||||
* | | Port abstract-class-instantiated tests to the new test framework. | Claudiu Popa | 2014-11-15 | 13 | -74/+48 | |
| | | ||||||
* | | abstract-class-instantiated is also emitted for Python 2. | Claudiu Popa | 2014-11-15 | 2 | -0/+72 | |
| | | ||||||
* | | Add a new TODO entry. | Claudiu Popa | 2014-11-15 | 1 | -0/+2 | |
| | | ||||||
* | | Warn when parameter unpacking is used as it is not supported in Python | Brett Cannon | 2014-11-14 | 2 | -1/+8 | |
| | | | | | | | | | | | | 3. Part of issue #20. | |||||
* | | Don't try to analyze string formatting with objects coming from function ↵ | Claudiu Popa | 2014-11-11 | 1 | -0/+19 | |
|/ | | | | arguments. Closes issue #373. | |||||
* | Tighten up the checking for iter*() and view*() methods by bailing out | Brett Cannon | 2014-10-31 | 1 | -2/+16 | |
| | | | | if the type can be inferred and it is something that isn't a dict. | |||||
* | Simplify the check for assigning to __metaclass__ | Brett Cannon | 2014-10-31 | 1 | -5/+5 | |
| | ||||||
* | Warn when assigning to __metaclass__ in a class scope for Python 2. | Brett Cannon | 2014-10-31 | 5 | -4/+17 | |
| | ||||||
* | Warn when calling dict.iter*(), dict.view*() or .next() on any object. | Brett Cannon | 2014-10-31 | 2 | -1/+45 | |
| | | | | These methods either do not exist in Python 3 or are never used. | |||||
* | Add a new option, 'exclude-protected'. | Claudiu Popa | 2014-10-28 | 3 | -3/+27 | |
| | | | | | This option can be used for excluding members from the protected-access warning. Closes issue #48. | |||||
* | Address PR comments | Brett Cannon | 2014-10-24 | 1 | -3/+6 | |
| | ||||||
* | Warn when division is performed without | Brett Cannon | 2014-10-24 | 1 | -0/+22 | |
| | | | | | | `from __future__ import division`. Part of issue #20 | |||||
* | Warn when an import is performed without | Brett Cannon | 2014-10-24 | 59 | -70/+84 | |
| | | | | | | `from __future__ import absolute_import`. Part of issue #20 | |||||
* | 'too-many-lines' disable pragma can be located on any line, not only the first. | Claudiu Popa | 2014-10-23 | 1 | -0/+1018 | |
| | | | | Closes issue #321. | |||||
* | 'too-many-public-methods' is reported only for methods defined in a class. | Claudiu Popa | 2014-10-21 | 7 | -6/+13 | |
| | | | | Closes issue #248. | |||||
* | Use *with* statement to make PyPy happy. | Claudiu Popa | 2014-10-20 | 1 | -3/+4 | |
| | ||||||
* | Allow linting multiple directories at once. | Claudiu Popa | 2014-10-19 | 1 | -44/+117 | |
| | | | | Patch by Buck Evan. | |||||
* | Forgot to add an import. | Claudiu Popa | 2014-10-16 | 1 | -1/+1 | |
| | ||||||
* | Fix a regression, where '{path}' was no longer accepted in '--msg-template'. | Claudiu Popa | 2014-10-16 | 2 | -0/+17 | |
|\ | | | | | | | Patch by LCD47. | |||||
* | | Add new '-j' option for running checks in sub-processes. | Claudiu Popa | 2014-10-15 | 3 | -11/+26 | |
| | | | | | | | | Patch by Michal Nowikowski. | |||||
* | | Don't emit 'assigning-non-slot' when the assignment is for a property. | Claudiu Popa | 2014-10-15 | 1 | -1/+34 | |
| | | | | | | | | Closes issue #359. | |||||
* | | Emit an error when a print statement is used. | Brett Cannon | 2014-10-10 | 107 | -225/+228 | |
|/ | | | | Part of issue #20. | |||||
* | Port more tests to the new test framework. | Claudiu Popa | 2014-10-06 | 12 | -48/+50 | |
| | ||||||
* | Introduce a Python 3 checker. | Brett Cannon | 2014-10-03 | 9 | -13/+141 | |
| | | | | | | | Start with checking for built-ins that are not available in Python 3 and magic methods which have no equivalent. Part of issue #20. | |||||
* | Use three different files for unknown-encoding for major Python implementations. | Claudiu Popa | 2014-09-30 | 9 | -7/+32 | |
| | | | | | | Python 2.7, 3.X and PyPy have different output when an unknown encoding is detected. This patch uses the new 'except_implementations' option from the functional test framework. | |||||
* | Add support in functional test framework for excepting certain ↵ | Claudiu Popa | 2014-09-30 | 1 | -1/+13 | |
| | | | | implementations from testing. | |||||
* | Remove flaky test, especially for PyPy. | Claudiu Popa | 2014-09-30 | 1 | -2/+1 | |
| |