14
0
forked from pool/python-pylint

Accepting request 264382 from home:Nijel:branches:devel:languages:python

- Lower tk dependency to Recommends as it's only needed for optional GUI

- Update to 1.4.0:
    * Added new options for controlling the loading of C extensions.
      By default, only C extensions from the stdlib will be loaded
      into the active Python interpreter for inspection, because they
      can run arbitrary code on import. The option 
      `--extension-pkg-whitelist` can be used to specify modules
      or packages that are safe to load.
    * Change default max-line-length to 100 rather than 80
    * Drop BaseRawChecker class which were only there for backward
      compat for a while now
    * Don't try to analyze string formatting with objects coming from
      function arguments. Closes issue #373.
    * Port source code to be Python 2/3 compatible. This drops the
      need for 2to3, but does drop support for Python 2.5.
    * Each message now comes with a confidence level attached, and
      can be filtered base on this level. This allows to filter out
      all messages that were emitted even though an inference failure
      happened during checking.
    * Improved presenting unused-import message. Closes issue #293.
    * Add new checker for finding spelling errors. New messages:
      wrong-spelling-in-comment, wrong-spelling-in-docstring.
      New options: spelling-dict, spelling-ignore-words.
    * Add new '-j' option for running checks in sub-processes.
    * Added new checks for line endings if they are mixed (LF vs CRLF)
      or if they are not as expected. New messages: mixed-line-endings,
      unexpected-line-ending-format. New option: expected-line-ending-format.
    * 'dangerous-default-value' no longer evaluates the value of the arguments,
      which could result in long error messages or sensitive data being leaked.

OBS-URL: https://build.opensuse.org/request/show/264382
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=58
This commit is contained in:
Michal Čihař
2014-12-08 10:30:09 +00:00
committed by Git OBS Bridge
parent a58715e83f
commit 74b4f7bbbe
5 changed files with 78 additions and 7 deletions

View File

@@ -1,3 +1,50 @@
-------------------------------------------------------------------
Mon Dec 8 10:08:10 UTC 2014 - mcihar@suse.cz
- Lower tk dependency to Recommends as it's only needed for optional GUI
-------------------------------------------------------------------
Mon Dec 8 10:06:19 UTC 2014 - mcihar@suse.cz
- Update to 1.4.0:
* Added new options for controlling the loading of C extensions.
By default, only C extensions from the stdlib will be loaded
into the active Python interpreter for inspection, because they
can run arbitrary code on import. The option
`--extension-pkg-whitelist` can be used to specify modules
or packages that are safe to load.
* Change default max-line-length to 100 rather than 80
* Drop BaseRawChecker class which were only there for backward
compat for a while now
* Don't try to analyze string formatting with objects coming from
function arguments. Closes issue #373.
* Port source code to be Python 2/3 compatible. This drops the
need for 2to3, but does drop support for Python 2.5.
* Each message now comes with a confidence level attached, and
can be filtered base on this level. This allows to filter out
all messages that were emitted even though an inference failure
happened during checking.
* Improved presenting unused-import message. Closes issue #293.
* Add new checker for finding spelling errors. New messages:
wrong-spelling-in-comment, wrong-spelling-in-docstring.
New options: spelling-dict, spelling-ignore-words.
* Add new '-j' option for running checks in sub-processes.
* Added new checks for line endings if they are mixed (LF vs CRLF)
or if they are not as expected. New messages: mixed-line-endings,
unexpected-line-ending-format. New option: expected-line-ending-format.
* 'dangerous-default-value' no longer evaluates the value of the arguments,
which could result in long error messages or sensitive data being leaked.
Closes issue #282
* Fix a false positive with string formatting checker, when
encountering a string which uses only position-based arguments.
Closes issue #285.
* Fix a false positive with string formatting checker, when using
keyword argument packing. Closes issue #288.
* Proper handle class level scope for lambdas.
* Handle 'too-few-format-args' or 'too-many-format-args' for format
strings with both named and positional fields. Closes issue #286.
- Switched to tar.gz upstream
-------------------------------------------------------------------
Tue Nov 4 16:16:09 UTC 2014 - mcihar@suse.cz