summaryrefslogtreecommitdiff
path: root/pylint/test/unittest_checker_python3.py
Commit message (Collapse)AuthorAgeFilesLines
* Use the new node names for the visit and leave methodsClaudiu Popa2015-08-261-19/+19
| | | | | Also, emit a PendingDeprecationWarning if the old names are still used, this support being removed in pylint 2.0.
* Update pylint to use the new astroid.parse, not testutils.build_module.Claudiu Popa2015-07-131-10/+10
|
* Add a new error for the Python 3 porting checker, `import-star-module-level`.Claudiu Popa2015-06-251-0/+10
| | | | | | This error is used when a star import is detected in another scope than the module level, which is an error on Python 3. Using this will emit a SyntaxWarning on Python 2.
* Remove trailing whitespace.Claudiu Popa2015-05-071-1/+1
|
* Add a new warning for the Python 3 porting checker, 'using-cmp-argument'.Claudiu Popa2015-02-281-0/+13
| | | | | This warning is emitted when the `cmp` argument for the `list.sort` or `sorted builtin` is encountered, since it was removed in Python 3. This is part of the issue #376.
* Don't emit not-iterating warnings when the builtin is used in an unpacking.Claudiu Popa2015-02-211-0/+18
|
* Fix a false positive with dict and not-iterating warnings.Claudiu Popa2015-02-211-3/+7
| | | | | | dict accepts iterators, as much as set and list does. This patch fixes this and adds tests for the other callables for which we shouldn't emit.
* Remove visit_discard for map-builtin-not-iterating, since it is already ↵Claudiu Popa2015-02-211-10/+0
| | | | caught by visit_callfunc.
* Use __() in tests to extract the node instead of #@ plus some fidgetingBrett Cannon2015-02-201-7/+2
|
* merge with defaultBrett Cannon2015-02-201-10/+120
|
* Move all package files to a pylint package.Ionel Cristian Maries2015-02-141-0/+301