summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | Improve the octal regex.Claudiu Popa2014-11-181-2/+3
| |
* | Fix more false positives for old-octal-literal.Claudiu Popa2014-11-181-4/+5
| |
* | Fix the flawed check of old octal syntax.Claudiu Popa2014-11-171-0/+5
| |
* | Add 'implicit-map-evaluation' to Python 3 porting checker.Claudiu Popa2014-11-171-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 Popa2014-11-171-0/+12
| |
* | Simplify special methods test.Claudiu Popa2014-11-171-26/+10
| |
* | Simplify the bad builtin test.Claudiu Popa2014-11-171-50/+18
| |
* | Use python2_only as a class decorator.Claudiu Popa2014-11-171-3/+1
| |
* | Simplify token-based tests in unittest_checker_python3.Claudiu Popa2014-11-171-12/+9
| |
* | Add 'old-octal-literal' to Python 3 porting checker.Claudiu Popa2014-11-171-0/+7
| | | | | | | | | | This warning is emitted when encountering octals with the old syntax, in the form '0number'.
* | Warn when encountering the reload builtin.Claudiu Popa2014-11-171-0/+4
| |
* | Add a new CLI option, '--py3k'.Claudiu Popa2014-11-1716-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 Popa2014-11-161-26/+5
| |
* | Add support for disabling a checker.Claudiu Popa2014-11-161-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 Popa2014-11-161-3/+0
| |
* | Make most tests run unmodified under Python 3.4.Torsten Marek2014-11-097-31/+39
| |
* | Move old-ne-operator to the python3 porting checker.Claudiu Popa2014-11-151-1/+1
| |
* | Move backtick warning in python3 porting checker.Claudiu Popa2014-11-151-1/+1
| |
* | Add 'long-suffix' error, emitted when encountering the long suffixClaudiu Popa2014-11-152-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 Popa2014-11-152-15/+8
| |
* | Move old-raise-syntax to the python3 porting checker.Claudiu Popa2014-11-151-1/+1
| |
* | Update the test message for raising-bad-type.Claudiu Popa2014-11-152-5/+5
| |
* | Move raising-string to the python3 porting checker.Claudiu Popa2014-11-152-2/+2
| |
* | Port abstract-class-instantiated tests to the new test framework.Claudiu Popa2014-11-1513-74/+48
| |
* | abstract-class-instantiated is also emitted for Python 2.Claudiu Popa2014-11-152-0/+72
| |
* | Add a new TODO entry.Claudiu Popa2014-11-151-0/+2
| |
* | Warn when parameter unpacking is used as it is not supported in PythonBrett Cannon2014-11-142-1/+8
| | | | | | | | | | | | 3. Part of issue #20.
* | Don't try to analyze string formatting with objects coming from function ↵Claudiu Popa2014-11-111-0/+19
|/ | | | arguments. Closes issue #373.
* Tighten up the checking for iter*() and view*() methods by bailing outBrett Cannon2014-10-311-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 Cannon2014-10-311-5/+5
|
* Warn when assigning to __metaclass__ in a class scope for Python 2.Brett Cannon2014-10-315-4/+17
|
* Warn when calling dict.iter*(), dict.view*() or .next() on any object.Brett Cannon2014-10-312-1/+45
| | | | These methods either do not exist in Python 3 or are never used.
* Add a new option, 'exclude-protected'.Claudiu Popa2014-10-283-3/+27
| | | | | This option can be used for excluding members from the protected-access warning. Closes issue #48.
* Address PR commentsBrett Cannon2014-10-241-3/+6
|
* Warn when division is performed withoutBrett Cannon2014-10-241-0/+22
| | | | | | `from __future__ import division`. Part of issue #20
* Warn when an import is performed withoutBrett Cannon2014-10-2459-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 Popa2014-10-231-0/+1018
| | | | Closes issue #321.
* 'too-many-public-methods' is reported only for methods defined in a class.Claudiu Popa2014-10-217-6/+13
| | | | Closes issue #248.
* Use *with* statement to make PyPy happy.Claudiu Popa2014-10-201-3/+4
|
* Allow linting multiple directories at once.Claudiu Popa2014-10-191-44/+117
| | | | Patch by Buck Evan.
* Forgot to add an import.Claudiu Popa2014-10-161-1/+1
|
* Fix a regression, where '{path}' was no longer accepted in '--msg-template'.Claudiu Popa2014-10-162-0/+17
|\ | | | | | | Patch by LCD47.
* | Add new '-j' option for running checks in sub-processes.Claudiu Popa2014-10-153-11/+26
| | | | | | | | Patch by Michal Nowikowski.
* | Don't emit 'assigning-non-slot' when the assignment is for a property.Claudiu Popa2014-10-151-1/+34
| | | | | | | | Closes issue #359.
* | Emit an error when a print statement is used.Brett Cannon2014-10-10107-225/+228
|/ | | | Part of issue #20.
* Port more tests to the new test framework.Claudiu Popa2014-10-0612-48/+50
|
* Introduce a Python 3 checker.Brett Cannon2014-10-039-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 Popa2014-09-309-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 Popa2014-09-301-1/+13
| | | | implementations from testing.
* Remove flaky test, especially for PyPy.Claudiu Popa2014-09-301-2/+1
|