- spec file cleanups
- list files to be included explicitly - Initial package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-pylint?expand=0&rev=2
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 31 12:46:01 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- spec file cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 27 17:05:32 UTC 2024 - Meera Belur <mbelur@suse.com>
|
||||
|
||||
- list files to be included explicitly
|
||||
- list files to be included explicitly
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 20 20:03:34 UTC 2024 - Meera Belur <mbelur@suse.com>
|
||||
|
||||
- Initial package
|
||||
- Initial package
|
||||
|
||||
@@ -15,38 +15,41 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-pylint
|
||||
Version: 0.21.0
|
||||
Release: 0
|
||||
Summary: A pytest plugin to check source code with pylint
|
||||
License: MIT
|
||||
URL: https://github.com/carsongee/pytest-pylint
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/carsongee/pytest-pylint
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-pylint/pytest-pylint-%{version}.tar.gz
|
||||
# Remove archived https://github.com/pytest-dev/pytest-runner from setup_requires
|
||||
Patch0: rm-pytest-runner.patch
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pylint >= 2.15.0}
|
||||
BuildRequires: %{python_module pytest >= 7.0}
|
||||
BuildRequires: %{python_module black}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module flake8}
|
||||
BuildRequires: %{python_module isort}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pylint >= 2.15.0
|
||||
Requires: python-pytest >= 7.0
|
||||
Suggests: python-tomli >= 1.1.0
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module black}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module flake8}
|
||||
BuildRequires: %{python_module isort}
|
||||
BuildRequires: %{python_module pylint >= 2.15.0}
|
||||
BuildRequires: %{python_module pytest >= 7.0}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
pytest plugin to check source code with pylint. Run pylint with pytest and have configurable rule types (i.e. Convention, Warn, and Error) fail the build. You can also specify a pylintrc file.
|
||||
pytest plugin to check source code with pylint. Run pylint with pytest and have
|
||||
configurable rule types (i.e. Convention, Warn, and Error) fail the build. You
|
||||
can also specify a pylintrc file.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n pytest-pylint-%{version}
|
||||
|
||||
Reference in New Issue
Block a user