summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Mergeopen_modeCosmin Poieana2014-12-061-0/+2
|\
| * Check the return value of slots, it can be None.Claudiu Popa2014-12-051-0/+2
| |
* | Fix 2.x open mode check; Add more testsCosmin Poieana2014-12-055-2/+43
| |
* | Merge; Fix open mode bugCosmin Poieana2014-12-057-8/+76
|\ \ | |/ |/|
| * Merge; Fix according to reviewCosmin Poieana2014-11-307-8/+72
| |\
| | * MergeCosmin Poieana2014-11-221-1/+1
| | |\
| | * \ Fix opening mode check. Closes Issue #307Cosmin Poieana2014-11-227-7/+68
| | |\ \
| | | * | Proper opening mode checking for filesCosmin Poieana2014-11-221-2/+42
| | | | |
* | | | | Check the return of properties when checking for not-callable.Claudiu Popa2014-12-053-5/+59
| | | | | | | | | | | | | | | | | | | | Closes issue #406.
* | | | | Merged in s0undt3ch/pylint/hotfix/py26-compat (pull request #206)Claudiu Popa2014-12-041-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | New style tuple syntax is only supported on Python >= 2.7
| * | | | | Fix typo.Pedro Algarvio2014-12-041-1/+1
| | | | | |
| * | | | | New style tuple syntax is only supported on Python >= 2.7Pedro Algarvio2014-11-281-2/+2
| | | | | |
* | | | | | Simplify _annotated_unpack_infer.Claudiu Popa2014-12-043-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this fix, _annotated_unpack_infer doesn't try to unpack everything, doing only a linear inference and unpacking. This also removes the false positives where a part of the except handler is a builtin call for list/tuple/set.
* | | | | | Simplify the code by using safe_infer.Claudiu Popa2014-12-041-14/+10
| | | | | |
* | | | | | Make some methods private.Claudiu Popa2014-12-041-4/+4
| | | | | |
* | | | | | Improve the reporting for dangerous-default-value.Claudiu Popa2014-12-034-13/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new version takes in consideration the fact that a couple of builtins, dict, tuple, set and list can be inferred to their AST syntax node, which messed up the reporting for dangerous-default-value until now.
* | | | | | Look only in the current function's scope for bad-super-call. Closes issue #403.Claudiu Popa2014-12-034-1/+29
| |/ / / / |/| | | |
* | | | | Make dangerous-default-argument check resilient to inferred builtin calls ↵Claudiu Popa2014-11-281-1/+4
|/ / / / | | | | | | | | | | | | for list/tuple/set.
* | | | Merged in godfryd/pylint/issue-398 (pull request #205)Claudiu Popa2014-11-281-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | fixed reading list of ignored words for spelling checker
| * | | | fixed reading list of ignored words for spelling checkerissue-398Michal Nowikowski2014-11-271-1/+1
|/ / / /
* | | | Use the new Module.close to close the file streams.Claudiu Popa2014-11-251-8/+2
| | | |
* | | | Merged in calindon/pylint (pull request #203)Claudiu Popa2014-11-241-0/+47
|\ \ \ \ | | | | | | | | | | | | | | | Added test for issue #263. #ropython-sprints
| * | | | Added test for issue #263Calin Don2014-11-221-0/+47
| |/ / /
* | | | Added tag pylint-1.4 for changeset 6224a61f7491Claudiu Popa2014-11-230-0/+0
| | | |
* | | | 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
|