forked from pool/python-pylint
- Depend on typed-ast as it is used in testsuite
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=82
This commit is contained in:
committed by
Git OBS Bridge
parent
64d8ddd5dd
commit
8629de120c
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 20 07:31:06 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Depend on typed-ast as it is used in testsuite
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 18 10:11:11 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
Tue Sep 18 10:11:11 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -33,6 +33,7 @@ BuildRequires: %{python_module mccabe}
|
|||||||
BuildRequires: %{python_module pytest-runner}
|
BuildRequires: %{python_module pytest-runner}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
|
BuildRequires: %{python_module typed-ast}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-astroid >= 2.0
|
Requires: python-astroid >= 2.0
|
||||||
@@ -87,8 +88,7 @@ done
|
|||||||
%python_uninstall_alternative pylint
|
%python_uninstall_alternative pylint
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# unused_typing_imports: https://github.com/PyCQA/pylint/issues/2500
|
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} pylint/test/
|
||||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} pylint/test/ -k 'not unused_typing_imports'
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Reference in New Issue
Block a user