From abacb84f44bb5f6b0a2e38b2b998ee2c0f08dd21d6a99a72a4b5738119f2b309 Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Thu, 24 Apr 2014 19:25:29 +0000 Subject: [PATCH] Accepting request 231234 from home:Nijel:branches:devel:languages:python - update to version 1.2.0 * Pass the current python paths to pylint process when invoked via epylint. Fixes BitBucket issue #133. * Add -i / --include-ids and -s / --symbols back as completely ignored options. Fixes BitBucket issue #180. * Extend the number of cases in which logging calls are detected. Fixes bitbucket issue #182. * Improve pragma handling to not detect pylint:* strings in non-comments. Fixes BitBucket issue #79. * Do not crash with UnknownMessage if an unknown message ID/name appears in disable or enable in the configuration. Patch by Cole Robinson. Fixes bitbucket issue #170. * Add new warning 'eval-used', checking that the builtin function `eval` was used. * Make it possible to show a naming hint for invalid name by setting include-naming-hint. Also make the naming hints configurable. Fixes BitBucket issue #138. * Added support for enforcing multiple, but consistent name styles for different name types inside a single module; based on a patch written by morbo@google.com. * Also warn about empty docstrings on overridden methods; contributed by sebastianu@google.com. * Also inspect arguments to constructor calls, and emit relevant warnings; contributed by sebastianu@google.com. * Added a new configuration option logging-modules to make the list of module names that can be checked for 'logging-not-lazy' et. al. configurable; contributed by morbo@google.com. * ensure init-hooks is evaluated before other options, notably load-plugins (#166) * Python 2.5 support restored: fixed small issues preventing pylint to run on python 2.5. Bitbucket issues #50 and #62. * bitbucket #128: pylint doesn't crash when looking for used-before-assignment in context manager assignments. * Add new warning, 'bad-reversed-sequence', for checking that the reversed() builtin receive a sequence (implements __getitem__ and __len__, without being a dict or a dict subclass) or an instance which implements OBS-URL: https://build.opensuse.org/request/show/231234 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=54 --- pylint-1.1.0.tar.gz | 3 --- pylint-1.2.0.tar.gz | 3 +++ python-pylint.changes | 41 +++++++++++++++++++++++++++++++++++++++++ python-pylint.spec | 5 +---- 4 files changed, 45 insertions(+), 7 deletions(-) delete mode 100644 pylint-1.1.0.tar.gz create mode 100644 pylint-1.2.0.tar.gz diff --git a/pylint-1.1.0.tar.gz b/pylint-1.1.0.tar.gz deleted file mode 100644 index 9675fbd..0000000 --- a/pylint-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8a92f0067213dd2bdcc793f838637a7d797918b01898ef8624213e93364759b1 -size 369058 diff --git a/pylint-1.2.0.tar.gz b/pylint-1.2.0.tar.gz new file mode 100644 index 0000000..0c4b2af --- /dev/null +++ b/pylint-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1392c357ac9eb6acae51824303ac5f38a0aa1647c05590fadb034bd677803b3b +size 394570 diff --git a/python-pylint.changes b/python-pylint.changes index fb2acfe..5085815 100644 --- a/python-pylint.changes +++ b/python-pylint.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Thu Apr 24 07:56:16 UTC 2014 - mcihar@suse.cz + +- update to version 1.2.0 + * Pass the current python paths to pylint process when invoked via + epylint. Fixes BitBucket issue #133. + * Add -i / --include-ids and -s / --symbols back as completely ignored + options. Fixes BitBucket issue #180. + * Extend the number of cases in which logging calls are detected. Fixes + bitbucket issue #182. + * Improve pragma handling to not detect pylint:* strings in non-comments. + Fixes BitBucket issue #79. + * Do not crash with UnknownMessage if an unknown message ID/name appears + in disable or enable in the configuration. Patch by Cole Robinson. + Fixes bitbucket issue #170. + * Add new warning 'eval-used', checking that the builtin function `eval` + was used. + * Make it possible to show a naming hint for invalid name by setting + include-naming-hint. Also make the naming hints configurable. Fixes + BitBucket issue #138. + * Added support for enforcing multiple, but consistent name styles for + different name types inside a single module; based on a patch written + by morbo@google.com. + * Also warn about empty docstrings on overridden methods; contributed + by sebastianu@google.com. + * Also inspect arguments to constructor calls, and emit relevant + warnings; contributed by sebastianu@google.com. + * Added a new configuration option logging-modules to make the list + of module names that can be checked for 'logging-not-lazy' et. al. + configurable; contributed by morbo@google.com. + * ensure init-hooks is evaluated before other options, notably load-plugins + (#166) + * Python 2.5 support restored: fixed small issues preventing pylint to run + on python 2.5. Bitbucket issues #50 and #62. + * bitbucket #128: pylint doesn't crash when looking + for used-before-assignment in context manager + assignments. + * Add new warning, 'bad-reversed-sequence', for checking that the + reversed() builtin receive a sequence (implements __getitem__ and __len__, + without being a dict or a dict subclass) or an instance which implements + ------------------------------------------------------------------- Wed Mar 5 06:43:45 UTC 2014 - arun@gmx.de diff --git a/python-pylint.spec b/python-pylint.spec index 63c28e6..be8650a 100644 --- a/python-pylint.spec +++ b/python-pylint.spec @@ -18,7 +18,7 @@ %define modname pylint Name: python-%{modname} -Version: 1.1.0 +Version: 1.2.0 Release: 0 Summary: Syntax and style checker for Python code License: GPL-2.0+ @@ -61,9 +61,6 @@ feature. %prep %setup -q -n %{modname}-%{version} -# two orig files made it into the rpm, but rpmlint throws an error -rm man/pylint.1.orig -rm examples/pylintrc.orig %build python setup.py build