Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve testsredundant-assert | Vlad Temian | 2014-11-22 | 3 | -4/+10 |
| | |||||
* | Fix code style and naming convention issues after review | Vlad Temian | 2014-11-22 | 3 | -11/+22 |
| | |||||
* | Test redundant unittest assert | Vlad Temian | 2014-11-22 | 2 | -0/+13 |
| | |||||
* | Added check for redundant assert in unittest | Vlad Temian | 2014-11-22 | 1 | -6/+21 |
| | |||||
* | 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 |
| | |||||
* | Move raising-string to the python3 porting checker. | Claudiu Popa | 2014-11-15 | 4 | -10/+34 |
| | |||||
* | Shorten a long line. | Claudiu Popa | 2014-11-15 | 1 | -2/+3 |
| | |||||
* | Port abstract-class-instantiated tests to the new test framework. | Claudiu Popa | 2014-11-15 | 13 | -74/+48 |
| | |||||
* | Emit abstract-class-instantiated for classes with ancestors that have an ↵ | Claudiu Popa | 2014-11-15 | 1 | -6/+6 |
| | | | | ABCMeta metaclass. | ||||
* | abstract-class-instantiated is also emitted for Python 2. | Claudiu Popa | 2014-11-15 | 4 | -2/+76 |
| | |||||
* | Move unpacking-in-except to the python3 porting checker. | Claudiu Popa | 2014-11-15 | 2 | -12/+14 |
| | |||||
* | Add a new TODO entry. | Claudiu Popa | 2014-11-15 | 1 | -0/+2 |
| |