diff --git a/pylint-1.4.0.tar.gz b/pylint-1.4.0.tar.gz deleted file mode 100644 index 18965e3..0000000 --- a/pylint-1.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:816646b9d5fd0c33f9e3b009953c46727d22bec3e880712d69b39b1b630fa3ca -size 331577 diff --git a/pylint-1.4.1.tar.gz b/pylint-1.4.1.tar.gz new file mode 100644 index 0000000..26720d8 --- /dev/null +++ b/pylint-1.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e383060edd432cbbd0e8bd686f5facfe918047ffe1bb401ab5897cb6ee0f030 +size 338636 diff --git a/pylint-1cf2d72bfc2410665579823cb308fa64c471867b.diff b/pylint-1cf2d72bfc2410665579823cb308fa64c471867b.diff deleted file mode 100644 index d4c6ed7..0000000 --- a/pylint-1cf2d72bfc2410665579823cb308fa64c471867b.diff +++ /dev/null @@ -1,22 +0,0 @@ -# HG changeset patch -# User Pedro Algarvio -# Date 1417201785 0 -# Branch hotfix/py26-compat -# Node ID 1cf2d72bfc2410665579823cb308fa64c471867b -# Parent f9bbf45c2bd5b08d2836c5a6da8d430e404cb135 -New style tuple syntax is only supported on Python >= 2.7 - -diff --git a/setup.py b/setup.py ---- a/setup.py -+++ b/setup.py -@@ -120,8 +120,8 @@ - for directory in include_dirs: - dest = join(self.install_dir, base, directory) - if sys.version_info >= (3, 0): -- exclude = {'invalid_encoded_data*', -- 'unknown_encoding*'} -+ exclude = set(['invalid_encoded_data*', -+ 'unknown_encoding*']) - else: - exclude = set() - shutil.rmtree(dest, ignore_errors=True) diff --git a/python-pylint.changes b/python-pylint.changes index e2b4b9e..77905b4 100644 --- a/python-pylint.changes +++ b/python-pylint.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Wed Feb 18 12:11:39 UTC 2015 - mcihar@suse.cz + +- 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. + ------------------------------------------------------------------- Mon Dec 8 10:08:10 UTC 2014 - mcihar@suse.cz diff --git a/python-pylint.spec b/python-pylint.spec index 0514439..be012bf 100644 --- a/python-pylint.spec +++ b/python-pylint.spec @@ -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