From 81ebda394fafc0fbb9460d4befd8d8b6194ee416afbdc5843e673fd23d1d65dc Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 25 Jun 2020 04:46:29 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-cpplint?expand=0&rev=7 --- cpplint-1.4.5.tar.gz | 3 --- cpplint-1.5.2.tar.gz | 3 +++ python-cpplint.changes | 16 ++++++++++++++++ python-cpplint.spec | 2 +- 4 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 cpplint-1.4.5.tar.gz create mode 100644 cpplint-1.5.2.tar.gz diff --git a/cpplint-1.4.5.tar.gz b/cpplint-1.4.5.tar.gz deleted file mode 100644 index 284982b..0000000 --- a/cpplint-1.4.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:08b384606136146ac1d32a2ffb60623a5dc1b20434588eaa0fa12a6e24eb3bf5 -size 329841 diff --git a/cpplint-1.5.2.tar.gz b/cpplint-1.5.2.tar.gz new file mode 100644 index 0000000..dd018f3 --- /dev/null +++ b/cpplint-1.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26f359627f9c6b5294bf19f67bb618565d7257049367dd0e6707d77fe1d43ce5 +size 358521 diff --git a/python-cpplint.changes b/python-cpplint.changes index 0b411f1..d2dd9f3 100644 --- a/python-cpplint.changes +++ b/python-cpplint.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Jun 25 04:44:48 UTC 2020 - Steve Kowalik + +- 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 diff --git a/python-cpplint.spec b/python-cpplint.spec index 5fed946..52dbe02 100644 --- a/python-cpplint.spec +++ b/python-cpplint.spec @@ -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