Exclude hooks[34] from check import

epel9
Lumir Balhar 3 years ago
parent 8ec0601a38
commit 0598f683e3

@ -46,8 +46,10 @@ The tox-current-env plugin allows to run tests in current Python environment.
%check %check
# the tests currently only work within actual tox and with various Python # the tests currently only work within actual tox and with various Python
# versions installed, so we skip them and do an import check only instead: # versions installed, so we skip them and do an import check only instead.
%pyproject_check_import # hooks[34].py are imported in hooks.py based on tox version so we have to
# exclude them here.
%pyproject_check_import -e '*.hooks?'
%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files} %files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files}

Loading…
Cancel
Save