- Remove disable-flake.patch and install flake8 packages in test

sub-package.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=804
This commit is contained in:
Martin Liška 2021-08-27 07:52:38 +00:00 committed by Git OBS Bridge
parent 37a21bd87b
commit 9fc805032d
3 changed files with 13 additions and 11 deletions

View File

@ -1,10 +0,0 @@
diff --git a/setup.cfg b/setup.cfg
index 098f636..0ccb9dc 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -10,4 +10,4 @@ import-order-style = google
application-import-names = Testing
[tool:pytest]
-addopts = -vv --cov=rpmlint -n auto --flake8
+addopts = -vv --cov=rpmlint -n auto

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 27 07:50:50 UTC 2021 - Martin Liška <mliska@suse.cz>
- Remove disable-flake.patch and install flake8 packages in test
sub-package.
-------------------------------------------------------------------
Fri Aug 27 07:45:01 UTC 2021 - Martin Liška <mliska@suse.cz>

View File

@ -29,7 +29,6 @@ Summary: RPM file correctness checker
License: GPL-2.0-or-later
URL: https://github.com/rpm-software-management/rpmlint
Source0: rpmlint-%{version}.tar.xz
Patch0: disable-flake.patch
BuildRequires: fdupes
BuildRequires: python3-setuptools
BuildArch: noarch
@ -42,11 +41,18 @@ BuildRequires: desktop-file-utils
BuildRequires: myspell-cs_CZ
BuildRequires: myspell-en_US
BuildRequires: python-rpm-macros
BuildRequires: python3-flake8
BuildRequires: python3-flake8-bugbear
BuildRequires: python3-flake8-builtins
BuildRequires: python3-flake8-comprehensions
BuildRequires: python3-flake8-import-order
BuildRequires: python3-flake8-quotes
BuildRequires: python3-magic
BuildRequires: python3-pybeam
BuildRequires: python3-pyenchant
BuildRequires: python3-pytest
BuildRequires: python3-pytest-cov
BuildRequires: python3-pytest-flake8
BuildRequires: python3-pytest-runner
BuildRequires: python3-pytest-xdist
BuildRequires: python3-pyxdg