forked from pool/python-pylint
Accepting request 286614 from home:Nijel:branches:devel:languages:python
- Update to 1.4.1: * Look only in the current function's scope for bad-super-call. Closes issue #403. * Check the return of properties when checking for not-callable. Closes issue #406. * Warn about using the input() or round() built-ins for Python 3. Closes issue #411. * Proper abstract method lookup while checking for abstract-class-instantiated. Closes issue #401. * Use a mro traversal for finding abstract methods. Closes issue #415. * Fix a false positive with catching-non-exception and tuples of exceptions. * Fix a false negative with raising-non-exception, when the raise used an uninferrable exception context. * Fix a false positive on Python 2 for raising-bad-type, when raising tuples in the form 'raise (ZeroDivisionError, None)'. * Fix a false positive with invalid-slots-objects, where the slot entry was an unicode string on Python 2. Closes issue #421. * Add a new warning, 'redundant-unittest-assert', emitted when using unittest's methods assertTrue and assertFalse with constant value as argument. Patch by Vlad Temian. * Add a new JSON reporter, usable through -f flag. * Add the method names for the 'signature-differs' and 'argument-differs' warnings. Closes issue #433. * Don't compile test files when installing. * Fix a crash which occurred when using multiple jobs and the files given as argument didn't exist at all. OBS-URL: https://build.opensuse.org/request/show/286614 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=59
This commit is contained in:
committed by
Git OBS Bridge
parent
74b4f7bbbe
commit
f7265cea79
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pylint
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,15 +18,13 @@
|
||||
|
||||
%define modname pylint
|
||||
Name: python-%{modname}
|
||||
Version: 1.4.0
|
||||
Version: 1.4.1
|
||||
Release: 0
|
||||
Summary: Syntax and style checker for Python code
|
||||
License: GPL-2.0+
|
||||
Group: Development/Languages/Python
|
||||
Url: http://www.logilab.org/projects/pylint/
|
||||
Source: https://pypi.python.org/packages/source/p/pylint/pylint-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM pylint-1cf2d72bfc2410665579823cb308fa64c471867b.diff -- Python 2.6 compatibility
|
||||
Patch0: pylint-1cf2d72bfc2410665579823cb308fa64c471867b.diff
|
||||
BuildRequires: python-astroid >= 1.2.0
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-logilab-common >= 0.55
|
||||
@@ -63,7 +61,6 @@ feature.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
Reference in New Issue
Block a user