forked from pool/python-pylint
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
This commit is contained in:
committed by
Git OBS Bridge
parent
bef5c4faf8
commit
abacb84f44
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8a92f0067213dd2bdcc793f838637a7d797918b01898ef8624213e93364759b1
|
|
||||||
size 369058
|
|
3
pylint-1.2.0.tar.gz
Normal file
3
pylint-1.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1392c357ac9eb6acae51824303ac5f38a0aa1647c05590fadb034bd677803b3b
|
||||||
|
size 394570
|
@@ -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
|
Wed Mar 5 06:43:45 UTC 2014 - arun@gmx.de
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define modname pylint
|
%define modname pylint
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 1.1.0
|
Version: 1.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Syntax and style checker for Python code
|
Summary: Syntax and style checker for Python code
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
@@ -61,9 +61,6 @@ feature.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%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
|
%build
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
Reference in New Issue
Block a user