Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prepare the 1.4.0 release.pylint-1.4 | Claudiu Popa | 2014-11-23 | 2 | -3/+4 |
| | |||||
* | Simplify the passing of config to sublinters. | Claudiu Popa | 2014-11-23 | 1 | -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 Popa | 2014-11-22 | 1 | -1/+1 |
| | |||||
* | Convert some testcases to the new framework. | Torsten Marek | 2014-11-22 | 18 | -70/+64 |
| | |||||
* | Use the public method astroid.nodes.Class.is_subtype_of. | Torsten Marek | 2014-11-22 | 2 | -7/+3 |
| | |||||
* | Fix tests to work with the new astroid release. | Claudiu Popa | 2014-11-22 | 5 | -9/+3 |
| | |||||
* | Merge. | Claudiu Popa | 2014-11-22 | 2 | -1/+24 |
|\ | |||||
| * | Add options to control extension loading in astroid. | Torsten Marek | 2014-11-22 | 2 | -1/+24 |
| | | |||||
* | | _is_subtype_of needs a context. | Claudiu Popa | 2014-11-22 | 1 | -2/+7 |
|/ | | | | Probably, we should make context optional for _is_subtype_of. | ||||
* | Close the file_stream of the ast node after analysing it. | Claudiu Popa | 2014-11-22 | 1 | -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 Popa | 2014-11-22 | 2 | -3/+10 |
| | |||||
* | tests: fix more tests broken by max-line-length change | Sylvain Th?nault | 2014-11-19 | 2 | -2/+2 |
| | |||||
* | Change default max-line-length to 100 rather than 80 | Sylvain Th?nault | 2014-11-19 | 7 | -18/+20 |
| | |||||
* | pylint pylint | Sylvain Th?nault | 2014-11-19 | 22 | -160/+167 |
| | |||||
* | drop BaseRawChecker bw compat | Sylvain Th?nault | 2014-11-19 | 2 | -25/+3 |
| | |||||
* | Improve the octal regex. | Claudiu Popa | 2014-11-18 | 2 | -4/+5 |
| | |||||
* | .infer can fail with InferenceError. | Claudiu Popa | 2014-11-18 | 1 | -1/+1 |
| | |||||
* | Fix more false positives for old-octal-literal. | Claudiu Popa | 2014-11-18 | 2 | -5/+6 |
| | |||||
* | Fix the flawed check of old octal syntax. | Claudiu Popa | 2014-11-17 | 2 | -1/+6 |
| | |||||
* | It's actually a Name node.. | Claudiu Popa | 2014-11-17 | 1 | -1/+1 |
| | |||||
* | Make sure to look only for calls to the map function. | Claudiu Popa | 2014-11-17 | 1 | -0/+1 |
| | |||||
* | Add 'implicit-map-evaluation' to Python 3 porting checker. | Claudiu Popa | 2014-11-17 | 3 | -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 Popa | 2014-11-17 | 2 | -11/+17 |
| | | | | in lint.py. | ||||
* | Add hex, oct, nonzero and cmp to the list of methods removed in Python 3. | Claudiu Popa | 2014-11-17 | 3 | -1/+38 |
| | |||||
* | 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 |
| | |||||
* | Amend the ChangeLog entry for the --py3k flag, to make it clear what it does. | Claudiu Popa | 2014-11-17 | 1 | -4/+3 |
| | |||||
* | Add 'old-octal-literal' to Python 3 porting checker. | Claudiu Popa | 2014-11-17 | 3 | -3/+29 |
| | | | | | 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 | 3 | -1/+12 |
| | |||||
* | Add a new CLI option, '--py3k'. | Claudiu Popa | 2014-11-17 | 18 | -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 Popa | 2014-11-16 | 1 | -10/+22 |
| | | | | create_file_backed_module. | ||||
* | Move create_file_backed_module to testutils. | Claudiu Popa | 2014-11-16 | 2 | -27/+28 |
| | |||||
* | Add support for disabling a checker. | Claudiu Popa | 2014-11-16 | 5 | -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 Popa | 2014-11-16 | 2 | -4/+13 |
| | |||||
* | Simplify the chaining of stats in _parallel_check. | Claudiu Popa | 2014-11-16 | 1 | -3/+2 |
| | |||||
* | Simplify a little the code for parallel checking. | Claudiu Popa | 2014-11-16 | 1 | -31/+33 |
| | |||||
* | may_be_disabled is not used anymore. | Claudiu Popa | 2014-11-15 | 1 | -1/+0 |
| | |||||
* | Rename OpenModeChecker to StdlibChecker. | Claudiu Popa | 2014-11-15 | 1 | -3/+3 |
| | |||||
* | Use astroid.modutils everywhere. | Torsten Marek | 2014-11-09 | 1 | -3/+2 |
| | |||||
* | 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 | 3 | -13/+10 |
| | |||||
* | Change the message ids, for consistency. | Claudiu Popa | 2014-11-15 | 1 | -2/+2 |
| | |||||
* | Move backtick warning in python3 porting checker. | Claudiu Popa | 2014-11-15 | 3 | -10/+13 |
| | |||||
* | Add 'long-suffix' error, emitted when encountering the long suffix | Claudiu Popa | 2014-11-15 | 4 | -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 Popa | 2014-11-15 | 3 | -15/+12 |
| | |||||
* | Move old-raise-syntax to the python3 porting checker. | Claudiu Popa | 2014-11-15 | 3 | -14/+19 |
| | |||||
* | Update the test message for raising-bad-type. | Claudiu Popa | 2014-11-15 | 2 | -5/+5 |
| | |||||
* | Amend the message for raising-bad-type, by not specifying strings. | Claudiu Popa | 2014-11-15 | 1 | -1/+1 |
| |