Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release 1.9.5pylint-1.9.5python-2.71.9 | Claudiu Popa | 2019-07-16 | 1 | -1/+1 |
| | |||||
* | Try automatic deployments for each release tag | Claudiu Popa | 2019-07-16 | 1 | -0/+9 |
| | |||||
* | Remove pypy specific test | Claudiu Popa | 2019-07-16 | 3 | -11/+0 |
| | |||||
* | Try with a more generic PyPy version | Claudiu Popa | 2019-07-16 | 1 | -1/+1 |
| | |||||
* | Prepare 1.9.5 | Claudiu Popa | 2019-07-16 | 1 | -1/+1 |
| | |||||
* | fix compatibility with unreleased changes to stdlib tokenizer | Michael Hudson-Doyle | 2019-07-16 | 3 | -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.0 | Claudiu Popa | 2019-07-16 | 1 | -1/+1 |
| | |||||
* | Remove testing for 2.7.6 which is gone from Travis | Claudiu Popa | 2019-07-16 | 1 | -2/+0 |
| | |||||
* | Separate pyenchant into a separate step | Claudiu Popa | 2019-07-16 | 2 | -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 markers | Claudiu Popa | 2019-07-16 | 1 | -2/+1 |
| | |||||
* | Remove test that was supposed to be removed | Claudiu Popa | 2019-07-16 | 1 | -9/+0 |
| | |||||
* | Use the absolute paths for tests and adapt the codes to the right ones. ↵ | Claudiu Popa | 2019-06-01 | 1 | -3/+4 |
| | | | | | | Close #2129 (cherry picked from commit bf258d2d9a30385f62e4c77158fa0427134e7603) | ||||
* | Changelog for #2047 backport | Slam | 2019-06-01 | 1 | -0/+10 |
| | |||||
* | Backport: Remove the maximum length from the style regular expressions (#2290) | SergeyKosarchuk | 2019-06-01 | 8 | -24/+19 |
| | | | | | | Close #2047 (cherry picked from commit 0581d30e6297b3080ce12b2fc75a2f5283392e20) | ||||
* | pylint 1.9.X cannot be installed on Python 3.7 so make this explicit | Claudiu Popa | 2019-02-22 | 1 | -1/+1 |
| | |||||
* | Improve the test suitepylint-1.9.4 | Claudiu Popa | 2018-12-27 | 1 | -10/+4 |
| | | | | Use the right files and the right codes. | ||||
* | Prepare 1.9.4 | Claudiu Popa | 2018-12-27 | 2 | -2/+2 |
| | |||||
* | Fix false-postive undefined-variable in nested lambda. (#2274) (#2630) | Jan Matějka | 2018-12-04 | 3 | -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 Popa | 2018-09-29 | 4 | -8/+34 |
| | | | | Close #2226 | ||||
* | Fix the "Multiple naming styles for custom regular expressions" section marker | Wieland Hoffmann | 2018-08-15 | 1 | -1/+1 |
| | |||||
* | Can specify a default docstring type for when the check cannot guess the ↵ | Ashley Whetter | 2018-07-26 | 3 | -7/+41 |
| | | | | | | type (#2340) Close #1169 | ||||
* | Add support for numpydoc return value names (#2031) | Mitchell T.H. Young | 2018-07-26 | 3 | -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 Chirieac | 2018-07-26 | 2 | -0/+22 |
| | |||||
* | Fixed false positive when a numpy Attributes section follows a Parameters ↵ | Ashley Whetter | 2018-07-26 | 3 | -0/+46 |
| | | | | | | section (#1878) Fixes #1867 | ||||
* | Prepare 1.9.3 | Claudiu Popa | 2018-07-24 | 2 | -2/+2 |
| | |||||
* | Need to also use the builtin module for Python 2 | Claudiu Popa | 2018-07-24 | 1 | -0/+3 |
| | |||||
* | `chain.from_iterable` no longer emits `dict-{}-not-iterating` when dealing ↵ | Claudiu Popa | 2018-07-24 | 3 | -2/+9 |
| | | | | with dict values and keys | ||||
* | frozenset is an iterating context for dict.values() and friends | Claudiu Popa | 2018-07-24 | 1 | -1/+1 |
| | |||||
* | [].extend and similar builtin operations don't emit `dict-*-not-iterating` ↵ | Claudiu Popa | 2018-07-24 | 3 | -0/+20 |
| | | | | | | with the Python 3 porting checker Close #2187 | ||||
* | Add `--exit-zero` option (#2099) | Jason Owen | 2018-07-23 | 4 | -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 C | 2018-07-16 | 7 | -7/+36 |
| | | | | Closes #1120 | ||||
* | `in` is considered iterating context for some of the Python 3 porting checkers | Claudiu Popa | 2018-06-14 | 3 | -0/+17 |
| | | | | Close #2186 | ||||
* | min() and max() accept iterators (#2138) | Anthony Sottile | 2018-06-06 | 2 | -1/+4 |
| | |||||
* | Fix the dict iterating texts by adding the parens. Thanks @asottlile | Claudiu Popa | 2018-06-06 | 1 | -5/+5 |
| | |||||
* | Add a requirements file for readthedocs | Claudiu Popa | 2018-06-06 | 1 | -0/+1 |
| | |||||
* | Prepare 1.9.2pylint-1.9.2 | Claudiu Popa | 2018-06-06 | 2 | -5/+19 |
| | |||||
* | Check that the potential leaked names are not used in the except handler | Claudiu Popa | 2018-06-01 | 1 | -0/+8 |
| | |||||
* | Don't use scope() to check if the variable is defined in the current statement | Claudiu Popa | 2018-06-01 | 1 | -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 Popa | 2018-05-26 | 1 | -1/+2 |
| | | | | io.StringIO. Found by #2080 | ||||
* | Remove tkinter as deprecated module in the test file since that might not be ↵ | Claudiu Popa | 2018-05-26 | 2 | -2/+0 |
| | | | | available on all platforms. Found by #2080 | ||||
* | Make sure the value is not defined in the same comprehension when looking ↵ | Claudiu Popa | 2018-05-24 | 1 | -1/+8 |
| | | | | for comprehension-escape values. Close #2106 | ||||
* | Don't include excepthandlers that don't have a name when looking for ↵ | Claudiu Popa | 2018-05-23 | 2 | -0/+8 |
| | | | | exception-escape | ||||
* | Rewrite the comprehension-escape and exception-escape to work only on the ↵ | Claudiu Popa | 2018-05-23 | 2 | -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 Sottile | 2018-05-22 | 2 | -3/+13 |
| | |||||
* | builtins is allowed to redefine builtins. Close #1966 | Claudiu Popa | 2018-05-17 | 1 | -1/+1 |
| | |||||
* | Use partition to not get a ValueError. Close #2112 | Claudiu Popa | 2018-05-17 | 1 | -1/+1 |
| | |||||
* | Fixed up a couple of docstrings | Ashley Whetter | 2018-05-16 | 2 | -5/+5 |
| | |||||
* | Fix an error which occurred when using the docparams extension and ↵ | Adam Dangoor | 2018-05-16 | 4 | -1/+25 |
| | | | | documenting a NotImplementedError. | ||||
* | Refixed old-raise-syntax not looking for tracebackpylint-1.9.1 | Ashley Whetter | 2018-05-16 | 1 | -2/+1 |
| | |||||
* | Prepare 1.9.1 | Ashley Whetter | 2018-05-16 | 2 | -1/+10 |
| |