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
@@ -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
|
||||
|
Reference in New Issue
Block a user