15
0

Accepting request 605778 from devel:languages:python:misc

docstring style checker for python

OBS-URL: https://build.opensuse.org/request/show/605778
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-docstrings?expand=0&rev=1
This commit is contained in:
Todd R
2018-05-09 13:50:37 +00:00
committed by Git OBS Bridge
commit eac1d2bf94
5 changed files with 118 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e0ce1476b64e6291520e5570cf12b05016dd4e8ae454b8a8a9a48bc5f84e1cd
size 4850

View File

@@ -0,0 +1,32 @@
-------------------------------------------------------------------
Wed May 9 02:25:09 UTC 2018 - toddrme2178@gmail.com
- Use license tag
-------------------------------------------------------------------
Thu Jan 4 17:07:29 UTC 2018 - arun@gmx.de
- specfile:
* update copyright year
* update pydocstyle version requirement to 2.1.0
* remove test requirements (were commented out already), since there
are no tests
- update to version 1.3.0:
* Bump minimum pydocstyle version to 2.1.0
- changes from version 1.2.0:
* Fix EnvironError and AllError invocations
* Avoid Flake8 warning for requesting "builtins"
-------------------------------------------------------------------
Wed Oct 18 11:50:40 UTC 2017 - alarrosa@suse.com
- Update to 1.1.0
- Use singlespec
-------------------------------------------------------------------
Mon Mar 24 13:08:43 UTC 2014 - toddrme2178@gmail.com
- Initial version

View File

@@ -0,0 +1,59 @@
#
# spec file for package python-flake8-docstrings
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-flake8-docstrings
Version: 1.3.0
Release: 0
Summary: Extension for flake8 which uses pydocstyle to check docstrings
License: MIT
Group: Development/Languages/Python
Url: https://gitlab.com/pycqa/flake8-docstrings
Source: https://files.pythonhosted.org/packages/source/f/flake8-docstrings/flake8-docstrings-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-flake8
Requires: python-flake8-polyfill
Requires: python-pydocstyle >= 2.1.0
BuildArch: noarch
%python_subpackages
%description
A simple module that adds an extension for the fantastic pydocstyle tool to
flake8.
%prep
%setup -q -n flake8-docstrings-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%doc LICENSE
%{python_sitelib}/*
%changelog