forked from pool/python-pylint
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=81
This commit is contained in:
committed by
Git OBS Bridge
parent
4a8b394c8b
commit
64d8ddd5dd
@@ -65,6 +65,8 @@ feature.
|
||||
|
||||
%prep
|
||||
%setup -q -n pylint-%{version}
|
||||
# https://github.com/PyCQA/pylint/issues/2499
|
||||
rm -f pylint/test/functional/using_constant_test.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -85,7 +87,8 @@ done
|
||||
%python_uninstall_alternative pylint
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} pylint/test/
|
||||
# unused_typing_imports: https://github.com/PyCQA/pylint/issues/2500
|
||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} pylint/test/ -k 'not unused_typing_imports'
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
|
Reference in New Issue
Block a user