summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Improve testsredundant-assertVlad Temian2014-11-223-4/+10
|
* Fix code style and naming convention issues after reviewVlad Temian2014-11-223-11/+22
|
* Test redundant unittest assertVlad Temian2014-11-222-0/+13
|
* Added check for redundant assert in unittestVlad Temian2014-11-221-6/+21
|
* tests: fix more tests broken by max-line-length changeSylvain Th?nault2014-11-192-2/+2
|
* Change default max-line-length to 100 rather than 80Sylvain Th?nault2014-11-197-18/+20
|
* pylint pylintSylvain Th?nault2014-11-1922-160/+167
|
* drop BaseRawChecker bw compatSylvain Th?nault2014-11-192-25/+3
|
* Improve the octal regex.Claudiu Popa2014-11-182-4/+5
|
* .infer can fail with InferenceError.Claudiu Popa2014-11-181-1/+1
|
* Fix more false positives for old-octal-literal.Claudiu Popa2014-11-182-5/+6
|
* Fix the flawed check of old octal syntax.Claudiu Popa2014-11-172-1/+6
|
* It's actually a Name node..Claudiu Popa2014-11-171-1/+1
|
* Make sure to look only for calls to the map function.Claudiu Popa2014-11-171-0/+1
|
* Add 'implicit-map-evaluation' to Python 3 porting checker.Claudiu Popa2014-11-173-0/+29
| | | | | | | 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.
* Remove get_init_args from the Message class and move it as private function ↵Claudiu Popa2014-11-172-11/+17
| | | | in lint.py.
* Add hex, oct, nonzero and cmp to the list of methods removed in Python 3.Claudiu Popa2014-11-173-1/+38
|
* 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
|
* Amend the ChangeLog entry for the --py3k flag, to make it clear what it does.Claudiu Popa2014-11-171-4/+3
|
* Add 'old-octal-literal' to Python 3 porting checker.Claudiu Popa2014-11-173-3/+29
| | | | | This warning is emitted when encountering octals with the old syntax, in the form '0number'.
* Warn when encountering the reload builtin.Claudiu Popa2014-11-173-1/+12
|
* Add a new CLI option, '--py3k'.Claudiu Popa2014-11-1718-43/+85
| | | | | | | | | 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.
* Add create_tempfile function to testutils and use it in ↵Claudiu Popa2014-11-161-10/+22
| | | | create_file_backed_module.
* Move create_file_backed_module to testutils.Claudiu Popa2014-11-162-27/+28
|
* Add support for disabling a checker.Claudiu Popa2014-11-165-1/+21
| | | | | | | | | 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-162-4/+13
|
* Simplify the chaining of stats in _parallel_check.Claudiu Popa2014-11-161-3/+2
|
* Simplify a little the code for parallel checking.Claudiu Popa2014-11-161-31/+33
|
* may_be_disabled is not used anymore.Claudiu Popa2014-11-151-1/+0
|
* Rename OpenModeChecker to StdlibChecker.Claudiu Popa2014-11-151-3/+3
|
* Use astroid.modutils everywhere.Torsten Marek2014-11-091-3/+2
|
* 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-153-13/+10
|
* Change the message ids, for consistency.Claudiu Popa2014-11-151-2/+2
|
* Move backtick warning in python3 porting checker.Claudiu Popa2014-11-153-10/+13
|
* Add 'long-suffix' error, emitted when encountering the long suffixClaudiu Popa2014-11-154-2/+40
| | | | | | | 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-153-15/+12
|
* Move old-raise-syntax to the python3 porting checker.Claudiu Popa2014-11-153-14/+19
|
* Update the test message for raising-bad-type.Claudiu Popa2014-11-152-5/+5
|
* Amend the message for raising-bad-type, by not specifying strings.Claudiu Popa2014-11-151-1/+1
|
* Move raising-string to the python3 porting checker.Claudiu Popa2014-11-154-10/+34
|
* Shorten a long line.Claudiu Popa2014-11-151-2/+3
|
* Port abstract-class-instantiated tests to the new test framework.Claudiu Popa2014-11-1513-74/+48
|
* Emit abstract-class-instantiated for classes with ancestors that have an ↵Claudiu Popa2014-11-151-6/+6
| | | | ABCMeta metaclass.
* abstract-class-instantiated is also emitted for Python 2.Claudiu Popa2014-11-154-2/+76
|
* Move unpacking-in-except to the python3 porting checker.Claudiu Popa2014-11-152-12/+14
|
* Add a new TODO entry.Claudiu Popa2014-11-151-0/+2
|