summaryrefslogtreecommitdiff
path: root/pylint/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove abstract-class-little-used warning, since it doesn't add any real value.Claudiu Popa2015-03-119-29/+7
|
* Remove the star-args error.Claudiu Popa2015-03-117-35/+9
| | | | | This warning is removed because it doesn't add any real value and it's not a problem if someone uses unpacking in their code.
* Make the --py3k flag commutative with the -E flag.Claudiu Popa2015-02-282-1/+60
| | | | | Also, this patch fixes the leaks of error messages from the Python 3 checker when the errors mode was activated. Closes issue #437.
* 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.
* Add missing call to unittest.main() in unittest_checker_exceptions.pyPavel Roskin2015-02-261-0/+4
|
* Remove excessive quotes in docstringsPavel Roskin2015-02-261-1/+1
|
* Support for combining the Python 3 checker mode with the --jobs flag.Claudiu Popa2015-02-241-0/+6
| | | | | | | This patch makes sure that --py3k and --jobs flags can be combined together. It introduces a new method in lint.PyLinter, called set_python3_porting_mode, which will setup a new flag inside the linter, passed down to child linters when they are created. Closes issue #467.
* Fix #299: Warn about `type(x) is/== Y`impl-299Chris Rebert2015-02-212-0/+94
|
* 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
|
* The HTML output accepts the `--msg-template` option.Claudiu Popa2015-02-171-0/+33
| | | | Patch by Daniel Goldsmith. Closes issue #135.
* Move all package files to a pylint package.Ionel Cristian Maries2015-02-14568-0/+15757