forked from pool/python-cpplint
Accepting request 817961 from devel:languages:python
- Add missing BuildRequires on textfixtures. - Update to 1.5.2: * Fix #83, output formats "sed" and "gsed" to auto-fix some issues * Fix #92, new category "build/namespaces_headers" for unnamed namespaces in header file * Sort list of files before processing * Fix #144 Falso positive for indent when using QT macros "signals" and "slots" * Fix #76 Parsing of class decorators that also use digits * Fix #139 Add message "Relative paths like . and .. are not allowed" * Revert #43 behavior change for include order from 1.5.0, and hide it behind command-line-flag --includeorder=standardcfirst. It turns out there is no easy objective way to tell c system headers from certain c++ library headers, and Google cpplint intentionally classifies some C++ header includes as C system header for simplicity. * Libraries considered as C system headers using --includeorder=standardcfirst now also includes linux-specifc headers (glibc-devel, glibc-kernheaders, linux-libc-dev). * Fix #43 false positives in header include order by checking includes against a list of c headers. Since this interprets certain include lines different than before, output about header include order changes. * Fix #135: allow 'if constexpr' in readability/braces. * Fix runtime warning: Close files after reading contents OBS-URL: https://build.opensuse.org/request/show/817961 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cpplint?expand=0&rev=4
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:08b384606136146ac1d32a2ffb60623a5dc1b20434588eaa0fa12a6e24eb3bf5
|
||||
size 329841
|
||||
3
cpplint-1.5.2.tar.gz
Normal file
3
cpplint-1.5.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:26f359627f9c6b5294bf19f67bb618565d7257049367dd0e6707d77fe1d43ce5
|
||||
size 358521
|
||||
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 1 04:34:56 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add missing BuildRequires on textfixtures.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 25 04:44:48 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 1.5.2:
|
||||
* Fix #83, output formats "sed" and "gsed" to auto-fix some issues
|
||||
* Fix #92, new category "build/namespaces_headers" for unnamed namespaces in header file
|
||||
* Sort list of files before processing
|
||||
* Fix #144 Falso positive for indent when using QT macros "signals" and "slots"
|
||||
* Fix #76 Parsing of class decorators that also use digits
|
||||
* Fix #139 Add message "Relative paths like . and .. are not allowed"
|
||||
* Revert #43 behavior change for include order from 1.5.0, and hide it behind command-line-flag --includeorder=standardcfirst. It turns out there is no easy objective way to tell c system headers from certain c++ library headers, and Google cpplint intentionally classifies some C++ header includes as C system header for simplicity.
|
||||
* Libraries considered as C system headers using --includeorder=standardcfirst now also includes linux-specifc headers (glibc-devel, glibc-kernheaders, linux-libc-dev).
|
||||
* Fix #43 false positives in header include order by checking includes against a list of c headers. Since this interprets certain include lines different than before, output about header include order changes.
|
||||
* Fix #135: allow 'if constexpr' in readability/braces.
|
||||
* Fix runtime warning: Close files after reading contents
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 27 09:36:50 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-cpplint
|
||||
Version: 1.4.5
|
||||
Version: 1.5.2
|
||||
Release: 0
|
||||
Summary: An automated checker to make sure a C++ file follows Google's C++ style guide
|
||||
License: BSD-3-Clause
|
||||
@@ -27,6 +27,7 @@ URL: https://github.com/cpplint/cpplint
|
||||
Source: https://files.pythonhosted.org/packages/source/c/cpplint/cpplint-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module testfixtures}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
|
||||
Reference in New Issue
Block a user