forked from pool/python-pylint
Accepting request 828459 from home:stroeder:branches:devel:languages:python
Update to 2.6.0 OBS-URL: https://build.opensuse.org/request/show/828459 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=114
This commit is contained in:
committed by
Git OBS Bridge
parent
59ee9776a7
commit
ddb1e8240f
@@ -20,16 +20,13 @@
|
||||
%bcond_without tests
|
||||
%define skip_python2 1
|
||||
Name: python-pylint
|
||||
Version: 2.5.3
|
||||
Version: 2.6.0
|
||||
Release: 0
|
||||
Summary: Syntax and style checker for Python code
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/pycqa/pylint
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM both_isort_4_5.patch gh#PyCQA/pylint#3725 mcepl@suse.com
|
||||
# allow using both isort 4 and 5
|
||||
Patch0: both_isort_4_5.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -72,7 +69,6 @@ feature.
|
||||
|
||||
%prep
|
||||
%setup -q -n pylint-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
# fix test: ignore unexpected message gh#PyCQA/pylint#3635
|
||||
sed -i 's/import matplotlib.pyplot as plt/& # pylint: disable=no-name-in-module/' tests/functional/u/undefined_variable.py
|
||||
|
Reference in New Issue
Block a user