summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.9.5pylint-1.9.5python-2.71.9Claudiu Popa2019-07-161-1/+1
|
* Try automatic deployments for each release tagClaudiu Popa2019-07-161-0/+9
|
* Remove pypy specific testClaudiu Popa2019-07-163-11/+0
|
* Try with a more generic PyPy versionClaudiu Popa2019-07-161-1/+1
|
* Prepare 1.9.5Claudiu Popa2019-07-161-1/+1
|
* fix compatibility with unreleased changes to stdlib tokenizerMichael Hudson-Doyle2019-07-163-2/+9
| | | | | | | | | | https://github.com/python/cpython/commit/c4ef4896eac86a6759901c8546e26de4695a1389 (not yet in any released version, but it's been backported to all versions of Python in git, even 2.7!) changed the behaviour in the stdlib's tokenize module to emit a synthetic NEWLINE token even if the file does not end with a newline. This was causing a spurious "mixed-line-endings" warning to be emitted, but luckily the synthetic token is easy to test for (the token text is "").
* Restrict astroid to <2.0Claudiu Popa2019-07-161-1/+1
|
* Remove testing for 2.7.6 which is gone from TravisClaudiu Popa2019-07-161-2/+0
|
* Separate pyenchant into a separate stepClaudiu Popa2019-07-162-3/+17
| | | | | | | | pyenchant is no longer maintained and doesn't seem to install correctly on all systems. But it is installable on Travis, so instead we separated that from the main test suite in order to run it in its own step. Close #1900
* Update setuptools to get support for environment markersClaudiu Popa2019-07-161-2/+1
|
* Remove test that was supposed to be removedClaudiu Popa2019-07-161-9/+0
|
* Use the absolute paths for tests and adapt the codes to the right ones. ↵Claudiu Popa2019-06-011-3/+4
| | | | | | Close #2129 (cherry picked from commit bf258d2d9a30385f62e4c77158fa0427134e7603)
* Changelog for #2047 backportSlam2019-06-011-0/+10
|
* Backport: Remove the maximum length from the style regular expressions (#2290)SergeyKosarchuk2019-06-018-24/+19
| | | | | | Close #2047 (cherry picked from commit 0581d30e6297b3080ce12b2fc75a2f5283392e20)
* pylint 1.9.X cannot be installed on Python 3.7 so make this explicitClaudiu Popa2019-02-221-1/+1
|
* Improve the test suitepylint-1.9.4Claudiu Popa2018-12-271-10/+4
| | | | Use the right files and the right codes.
* Prepare 1.9.4Claudiu Popa2018-12-272-2/+2
|
* Fix false-postive undefined-variable in nested lambda. (#2274) (#2630)Jan Matějka2018-12-043-1/+17
| | | | | Remove unnecessary break in checker utils for lambdas causing parent lambdas to be ignored. Close #760
* ``deprecated-method`` is correctly emitted for ``assertEquals`` and friends.Claudiu Popa2018-09-294-8/+34
| | | | Close #2226
* Fix the "Multiple naming styles for custom regular expressions" section markerWieland Hoffmann2018-08-151-1/+1
|
* Can specify a default docstring type for when the check cannot guess the ↵Ashley Whetter2018-07-263-7/+41
| | | | | | type (#2340) Close #1169
* Add support for numpydoc return value names (#2031)Mitchell T.H. Young2018-07-263-2/+9
| | | | | | | | | | | | | | | | Numpydoc specification allows for optional return value name in the form of: ``` Returns ------- name : type Some description ``` These were not being honored by the current regex for return lines. This adds an optional, non-capturing group to the regex which accounts for the `name : ` bit. Fixes #2030
* Ignore 'optional' type specifier for google docstring (#2023)Adrian Chirieac2018-07-262-0/+22
|
* Fixed false positive when a numpy Attributes section follows a Parameters ↵Ashley Whetter2018-07-263-0/+46
| | | | | | section (#1878) Fixes #1867
* Prepare 1.9.3Claudiu Popa2018-07-242-2/+2
|
* Need to also use the builtin module for Python 2Claudiu Popa2018-07-241-0/+3
|
* `chain.from_iterable` no longer emits `dict-{}-not-iterating` when dealing ↵Claudiu Popa2018-07-243-2/+9
| | | | with dict values and keys
* frozenset is an iterating context for dict.values() and friendsClaudiu Popa2018-07-241-1/+1
|
* [].extend and similar builtin operations don't emit `dict-*-not-iterating` ↵Claudiu Popa2018-07-243-0/+20
| | | | | | with the Python 3 porting checker Close #2187
* Add `--exit-zero` option (#2099)Jason Owen2018-07-234-1/+23
| | | | | | | | | | | | | | | Add a new command-line option for the use of continuous integration scripts which abort if a command returns a non-zero status code. If the option is specified, and Pylint runs successfully, it will exit with 0 regardless of the number of lint issues detected. Configuration errors, parse errors, and calling Pylint with invalid command-line options all still return a non-zero error code, even if `--exit-zero` is specified. Thanks for hosting a sprint at PyCon 2018! Close #2042
* Correctly strip the path prefix from the report paths (#1883)Reverb C2018-07-167-7/+36
| | | | Closes #1120
* `in` is considered iterating context for some of the Python 3 porting checkersClaudiu Popa2018-06-143-0/+17
| | | | Close #2186
* min() and max() accept iterators (#2138)Anthony Sottile2018-06-062-1/+4
|
* Fix the dict iterating texts by adding the parens. Thanks @asottlileClaudiu Popa2018-06-061-5/+5
|
* Add a requirements file for readthedocsClaudiu Popa2018-06-061-0/+1
|
* Prepare 1.9.2pylint-1.9.2Claudiu Popa2018-06-062-5/+19
|
* Check that the potential leaked names are not used in the except handlerClaudiu Popa2018-06-011-0/+8
|
* Don't use scope() to check if the variable is defined in the current statementClaudiu Popa2018-06-011-1/+1
| | | | | | | This works on Python 3 because scope() for a ListComp will always be the ListComp, but on Python 2 that's going to be the outer scope/frame instead. Close #2106
* Pass six.StringIO, which is String.StringIO on Python 2, instead of using ↵Claudiu Popa2018-05-261-1/+2
| | | | io.StringIO. Found by #2080
* Remove tkinter as deprecated module in the test file since that might not be ↵Claudiu Popa2018-05-262-2/+0
| | | | available on all platforms. Found by #2080
* Make sure the value is not defined in the same comprehension when looking ↵Claudiu Popa2018-05-241-1/+8
| | | | for comprehension-escape values. Close #2106
* Don't include excepthandlers that don't have a name when looking for ↵Claudiu Popa2018-05-232-0/+8
| | | | exception-escape
* Rewrite the comprehension-escape and exception-escape to work only on the ↵Claudiu Popa2018-05-232-48/+73
| | | | | | | | | | | | | corresponding nodes These two checks were implemented in terms of visit_namne, that is, for every name in the tree, we looked to see if that name leaked. This was resulting in a couple of false positives and also in a performance issue, since we were calling nodes_of_class() and scope() for each name node. Instead, this approach uses the visit methods for exception and comprehension nodes and looks to see from there if the current scope uses leaked names. This is not the ideal situation as well, ideal would be to have access to the definition frame of each name, but that requires some extra engineering effort in astroid to get it right. Close #2106
* Use last previous assignment for comprehension-escape (#2131)Anthony Sottile2018-05-222-3/+13
|
* builtins is allowed to redefine builtins. Close #1966Claudiu Popa2018-05-171-1/+1
|
* Use partition to not get a ValueError. Close #2112Claudiu Popa2018-05-171-1/+1
|
* Fixed up a couple of docstringsAshley Whetter2018-05-162-5/+5
|
* Fix an error which occurred when using the docparams extension and ↵Adam Dangoor2018-05-164-1/+25
| | | | documenting a NotImplementedError.
* Refixed old-raise-syntax not looking for tracebackpylint-1.9.1Ashley Whetter2018-05-161-2/+1
|
* Prepare 1.9.1Ashley Whetter2018-05-162-1/+10
|