14
0
forked from pool/python-pylint

Accepting request 353383 from home:TheBlackCat:branches:devel:languages:python

Update to version 1.5.3

OBS-URL: https://build.opensuse.org/request/show/353383
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=63
This commit is contained in:
Todd R
2016-01-13 10:21:11 +00:00
committed by Git OBS Bridge
parent d02d259c2e
commit 034dc6cf30
4 changed files with 104 additions and 50 deletions

View File

@@ -1,3 +1,65 @@
-------------------------------------------------------------------
Wed Jan 13 10:15:52 UTC 2016 - toddrme2178@gmail.com
- Update to version 1.5.3:
* Handle the import fallback idiom with regard to wrong-import-order.
Closes issue #750.
* Decouple the displaying of reports from the displaying of messages
Some reporters are aggregating the messages instead of displaying
them when they are available. The actual displaying was conflatted
in the generate_reports. Unfortunately this behaviour was flaky
and in the case of the JSON reporter, the messages weren't shown
at all if a file had syntax errors or if it was missing.
In order to fix this, the aggregated messages can now be
displayed with Reporter.display_message, while the reports are
displayed with display_reports.
Closes issues #766 and #765.
* Ignore function calls with variadic arguments without a context.
Inferring variadic positional arguments and keyword arguments
will result into empty Tuples and Dicts, which can lead in
some cases to false positives with regard to no-value-for-parameter.
In order to avoid this, until we'll have support for call context
propagation, we're ignoring such cases if detected.
Closes issue #722.
* Treat AsyncFunctionDef just like FunctionDef nodes,
by implementing visit_asyncfunctiondef in terms of
visit_functiondef.
Closes issue #767.
* Take in account kwonlyargs when verifying that arguments
are defined with the check_docs extension.
Closes issue #745.
* Suppress reporting 'unneeded-not' inside `__ne__` methods
Closes issue #749.
- update to version 1.5.2:
* Don't crash if graphviz is not installed, instead emit a warning
letting the user to know. Closes issue #168.
* Accept only functions and methods for the deprecated-method
checker. This prevents a crash which can occur when an object
doesn't have .qname() method after the inference.
* Don't emit super-on-old-class on classes with unknown bases.
Closes issue #721.
* Allow statements in `if` or `try` blocks containing imports.
Closes issue #714.
- update to version 1.5.1:
* Fix a crash which occurred when old visit methods are encountered
in plugin modules. Closes issue #711.
* Add wrong-import-position to check_messages's decorator arguments
for ImportChecker.leave_module This fixes an esoteric bug which
occurs when ungrouped-imports and wrong-import-order are disabled
and pylint is executed on multiple files. What happens is that
without wrong-import-position in check_messages, leave_module will
never be called, which means that the first non-import node from
other files might leak into the current file, leading to
wrong-import-position being emitted by pylint.
* Fix a crash which occurred when old visit methods are encountered
in plugin modules. Closes issue #711.
* Don't emit import-self and cyclic-import for relative imports of
modules with the same name as the package itself. Closes issues
#708 and #706.
- update to version 1.5.0:
* long list of changes, see Changelog file for details
- Cleanup update-alternatives
-------------------------------------------------------------------
Wed Sep 2 14:16:15 UTC 2015 - mcihar@suse.cz