summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Prepare the 1.4.0 release.pylint-1.4Claudiu Popa2014-11-232-3/+4
|
* Simplify the passing of config to sublinters.Claudiu Popa2014-11-231-19/+17
| | | | | This implementation is still suboptimal for most of the cases, but at least it passes the configuration obtain through pylintrc correctly. Thus, enabled and disabled messages in pylintrc should reach sublinters as well.
* Fix the order of the commands for the release.Claudiu Popa2014-11-221-1/+1
|
* Convert some testcases to the new framework.Torsten Marek2014-11-2218-70/+64
|
* Use the public method astroid.nodes.Class.is_subtype_of.Torsten Marek2014-11-222-7/+3
|
* Fix tests to work with the new astroid release.Claudiu Popa2014-11-225-9/+3
|
* Merge.Claudiu Popa2014-11-222-1/+24
|\
| * Add options to control extension loading in astroid.Torsten Marek2014-11-222-1/+24
| |
* | _is_subtype_of needs a context.Claudiu Popa2014-11-221-2/+7
|/ | | | Probably, we should make context optional for _is_subtype_of.
* Close the file_stream of the ast node after analysing it.Claudiu Popa2014-11-221-0/+14
| | | | | This ensures that we don't leak open fds and that we are well-behavioured for PyPy (previously, the file were closed due to gc).
* Fix false positives with the old-octal-literal.Claudiu Popa2014-11-222-3/+10
|
* 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
|