forked from pool/python-pylint
- Update to 2.4.2:
* Various bugfixes and compat with newer releases of astroid OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=96
This commit is contained in:
committed by
Git OBS Bridge
parent
86ea9e502c
commit
309b4b6000
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:723e3db49555abaf9bf79dc474c6b9e2935ad82230b10c1138a71ea41ac0fff1
|
||||
size 577767
|
3
pylint-2.4.2.tar.gz
Normal file
3
pylint-2.4.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7edbae11476c2182708063ac387a8f97c760d9cfe36a5ede0ca996f90cf346c8
|
||||
size 644864
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 9 11:27:15 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 2.4.2:
|
||||
* Various bugfixes and compat with newer releases of astroid
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 8 03:01:10 CEST 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@@ -19,14 +19,14 @@
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-pylint
|
||||
Version: 2.3.1
|
||||
Version: 2.4.2
|
||||
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
|
||||
BuildRequires: %{python_module astroid >= 2.2.0}
|
||||
BuildRequires: %{python_module astroid >= 2.3.0}
|
||||
BuildRequires: %{python_module editdistance}
|
||||
BuildRequires: %{python_module isort >= 4.2.5}
|
||||
BuildRequires: %{python_module mccabe >= 0.6}
|
||||
@@ -36,7 +36,7 @@ BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module typed-ast}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-astroid >= 2.2.0
|
||||
Requires: python-astroid >= 2.3.0
|
||||
Requires: python-editdistance
|
||||
Requires: python-isort >= 4.2.5
|
||||
Requires: python-mccabe >= 0.6
|
||||
@@ -75,7 +75,6 @@ feature.
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand rm -r %{buildroot}%{$python_sitelib}/pylint/test/
|
||||
for p in pylint epylint pyreverse symilar ; do
|
||||
%python_clone -a %{buildroot}%{_bindir}/$p
|
||||
done
|
||||
@@ -89,9 +88,10 @@ done
|
||||
%python_uninstall_alternative pylint
|
||||
|
||||
%check
|
||||
# Test skipped for gh#PyCQA/pylint#3171
|
||||
# test_types_redefined gh#PyCQA/pylint#3171
|
||||
# test_by_module_statement_value - fails due to %%pytest macro way of execution
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%pytest -v -k 'not test_types_redefined' pylint/test
|
||||
%pytest -k "not (test_types_redefined or test_by_module_statement_value)"
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
|
Reference in New Issue
Block a user