forked from pool/python-flake8
- Skip failing test_all_pyflakes_messages_have_flake8_codes_assigned test
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=56
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-flake8
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -28,6 +28,7 @@ URL: https://gitlab.com/pycqa/flake8
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8/flake8-%{version}.tar.gz
|
||||
Patch0: remove_mock_dependency.patch
|
||||
Patch1: fix-mock-patch-with-python3.4.patch
|
||||
Patch2: pyflakes-version.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -100,7 +101,8 @@ This package provides documentation for %{name}.
|
||||
%python_uninstall_alternative flake8
|
||||
|
||||
%check
|
||||
%pytest tests
|
||||
# gl#pycqa/flake8#633
|
||||
%pytest -k 'not test_all_pyflakes_messages_have_flake8_codes_assigned' tests
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user