summaryrefslogtreecommitdiff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.9.5pylint-1.9.5python-2.71.9Claudiu Popa2019-07-161-1/+1
|
* fix compatibility with unreleased changes to stdlib tokenizerMichael Hudson-Doyle2019-07-161-0/+2
| | | | | | | | | | 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 "").
* Changelog for #2047 backportSlam2019-06-011-0/+10
|
* Backport: Remove the maximum length from the style regular expressions (#2290)SergeyKosarchuk2019-06-011-4/+4
| | | | | | Close #2047 (cherry picked from commit 0581d30e6297b3080ce12b2fc75a2f5283392e20)
* Prepare 1.9.4Claudiu Popa2018-12-271-1/+1
|
* Fix false-postive undefined-variable in nested lambda. (#2274) (#2630)Jan Matějka2018-12-041-0/+4
| | | | | 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-291-2/+5
| | | | Close #2226
* Can specify a default docstring type for when the check cannot guess the ↵Ashley Whetter2018-07-261-0/+4
| | | | | | type (#2340) Close #1169
* Add support for numpydoc return value names (#2031)Mitchell T.H. Young2018-07-261-0/+4
| | | | | | | | | | | | | | | | 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
* Fixed false positive when a numpy Attributes section follows a Parameters ↵Ashley Whetter2018-07-261-0/+11
| | | | | | section (#1878) Fixes #1867
* Prepare 1.9.3Claudiu Popa2018-07-241-1/+1
|
* `chain.from_iterable` no longer emits `dict-{}-not-iterating` when dealing ↵Claudiu Popa2018-07-241-1/+2
| | | | with dict values and keys
* [].extend and similar builtin operations don't emit `dict-*-not-iterating` ↵Claudiu Popa2018-07-241-0/+4
| | | | | | with the Python 3 porting checker Close #2187
* Add `--exit-zero` option (#2099)Jason Owen2018-07-231-0/+6
| | | | | | | | | | | | | | | 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-161-0/+5
| | | | Closes #1120
* `in` is considered iterating context for some of the Python 3 porting checkersClaudiu Popa2018-06-141-0/+11
| | | | Close #2186
* Prepare 1.9.2pylint-1.9.2Claudiu Popa2018-06-061-4/+18
|
* Fix an error which occurred when using the docparams extension and ↵Adam Dangoor2018-05-161-0/+10
| | | | documenting a NotImplementedError.
* Prepare 1.9.1Ashley Whetter2018-05-161-0/+9
|
* Prepare 1.9.0Ashley Whetter2018-05-151-1/+1
|
* Added two new Python 3 porting checks, `exception-escape` and ↵Claudiu Popa2018-05-121-0/+5
| | | | | | | `comprehension-escape` These two are emitted whenever pylint detects that a variable defined in the said blocks is used outside of the given block. On Python 3 these values are deleted.
* Emit a warning when sys.exc_clear is accessedClaudiu Popa2018-05-111-0/+2
|
* Emit a warning when .xreadlines() is accessedClaudiu Popa2018-05-111-0/+1
|
* The Python 3 porting checker can run with Python 3 as wellClaudiu Popa2018-05-101-0/+4
|
* Relaxed docstring checks for abstract methodsAshley Whetter2018-05-091-0/+6
| | | | | | | | | | | | | | Abstract methods are allowed to document returns documentation even if the default implementation does not return something. This is so that an abstract method can document what an implementation should return. Abstract methods also do not need to document that they raise a NotImplementedError. This is because a docstring author may choose to indicate that the method is abstract in the docstring description, which is something that we cannot detect. Closes #2044
* Enum classes no longer trigger too-few-methodsAshley Whetter2018-05-091-2/+9
| | | | Fixes #605
* Move the changelog entry in 1.9 section and add a new entry in what's newClaudiu Popa2018-05-081-3/+3
|
* Add new check py3k invalid-unicode-literal. (#2068)Sushobhit2018-05-091-0/+4
| | | Close #1938
* Rip invalid-raise-syntax, we already have old-raise-syntaxClaudiu Popa2018-04-181-4/+0
| | | | | Instead of adding a new check, old-raise-syntax was modified to account for the case when we throw with a traceback.
* defaultdict and subclasses of dict are now handled for dict-iter-* checksClaudiu Popa2018-04-181-0/+4
| | | | Close #2005
* Rip lambda paremeter unpacking, we already have parameter-unpackingClaudiu Popa2018-04-181-4/+0
|
* Added a new Python 2/3 check for invalid raise syntax.Claudiu Popa2018-04-171-0/+4
| | | | Close #1937
* Added a new Python 2/3 check for invalid lambda parameter list, ↵Claudiu Popa2018-04-171-0/+4
| | | | | | `lambda-parameter-parens` Close #1995
* Added a new Python 2/3 check for accessing removed urllib functionsClaudiu Popa2018-04-121-0/+5
| | | | Close #1997
* Added a new Python 2/3 check for accessing `operator.div`, which is removed ↵Claudiu Popa2018-04-121-0/+3
| | | | | | in Python 3 Close #1936
* Added 1.9 which will have some python 3 new port checksClaudiu Popa2018-04-051-0/+7
|
* Prepare 1.8.4Claudiu Popa2018-04-051-0/+15
|
* Prepare 1.8.3 releasepylint-1.8.3Claudiu Popa2018-03-161-1/+1
|
* Remove merge markerClaudiu Popa2018-03-161-1/+1
|
* Don't crash on invalid strings when checking for `logging-format-interpolation`Claudiu Popa2018-03-161-0/+5
| | | | Close #1944
* Check if node is in list comprehension in function defaultsBryce Guinta2018-03-031-0/+5
| | | | | | | List comprehensions in python 2 do not have scope. If the local scope is skipped, then generated variables values will raise a false-positive. Close #1897
* Fix false positive undefined-variable for lambda arguments in classesBryce Guinta2018-03-021-0/+5
| | | | Close #1824
* Exempt `__doc__` from triggering a `redefined-builtin`Claudiu Popa2018-03-011-0/+5
| | | | | `__doc__` can be used to specify a docstring for a module without passing it as a first-statement string.
* Backport of PR#1855hippo912018-01-281-0/+5
|
* Deletion of trailing newline to force CI (2/2)hippo912018-01-251-1/+0
|
* Add of trailing newline to force CI (1/2)hippo912018-01-251-0/+1
|
* Add of Changelog and whatsnew entrieshippo912018-01-231-1/+11
|
* Prepare releasepylint-1.8.2Claudiu Popa2018-01-231-1/+1
|
* Update contributors and changelog.Brian Shaginaw2018-01-191-0/+2
|
* Add of Changelog and whatsnew entries.hippo912018-01-071-0/+5
|