- Update to 2.0.2:

* Drop Python 3.8
  * Don't err on non-const references by default
  * fix(indentation_namespace): false positive for MemInitLists
  * Fix missing comma between items in _CPP_HEADERS
  * Fix false positive for indented parameters in namespaces
  * IWYU: treat stdio.h the same way as cstdio
  * PEP 621: Migrate from setup.{py, cfg} to pyproject.toml
  * cpplint_clitest.py: Function names should be lowercase
  * suppress C++-only categories on C file extensions
  * You can now specify blocks of code that exclude linting with NOLINTBEGIN
    and NOLINTEND
  * The --filter option can now be only applied to a specific file or even a
    specific line through utilizing colons
  * NOLINT and NOLINTNEXTLINE comments now support a comma-separated list of
    categories
  * NOLINT and NOLINTNEXTLINE will now ignore categories known to be from
    clang-tidy
  * build/include-what-you-use no longer supports transitive headers from the
    header for the current module for parity with the style guide
  * build/include-what-you-use now supports a plethora of new functions
  * build/include-what-you-use will no longer err on similarly-named classes
    from other namespaces
  * Indented functions inside namespaces will now be correctly erred on
  * The check for C-style casts now looks for the standard fixed-width
    integer typenames instead of non-standard ones (e.g. int32_t instead of
    int32)
  * readability/braces will realize that C++20 concepts require a semicolon
  * C++20 headers will no longer be flagged as C headers
  * Processing C++ files through stdin/piping is now fixed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cpplint?expand=0&rev=20
This commit is contained in:
2025-10-31 02:28:31 +00:00
committed by Git OBS Bridge
parent 0d3bbb2335
commit 8f2c3d6d69
8 changed files with 109 additions and 4587 deletions

View File

@@ -1,3 +1,57 @@
-------------------------------------------------------------------
Fri Oct 31 02:26:02 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.0.2:
* Drop Python 3.8
* Don't err on non-const references by default
* fix(indentation_namespace): false positive for MemInitLists
* Fix missing comma between items in _CPP_HEADERS
* Fix false positive for indented parameters in namespaces
* IWYU: treat stdio.h the same way as cstdio
* PEP 621: Migrate from setup.{py, cfg} to pyproject.toml
* cpplint_clitest.py: Function names should be lowercase
* suppress C++-only categories on C file extensions
* You can now specify blocks of code that exclude linting with NOLINTBEGIN
and NOLINTEND
* The --filter option can now be only applied to a specific file or even a
specific line through utilizing colons
* NOLINT and NOLINTNEXTLINE comments now support a comma-separated list of
categories
* NOLINT and NOLINTNEXTLINE will now ignore categories known to be from
clang-tidy
* build/include-what-you-use no longer supports transitive headers from the
header for the current module for parity with the style guide
* build/include-what-you-use now supports a plethora of new functions
* build/include-what-you-use will no longer err on similarly-named classes
from other namespaces
* Indented functions inside namespaces will now be correctly erred on
* The check for C-style casts now looks for the standard fixed-width
integer typenames instead of non-standard ones (e.g. int32_t instead of
int32)
* readability/braces will realize that C++20 concepts require a semicolon
* C++20 headers will no longer be flagged as C headers
* Processing C++ files through stdin/piping is now fixed
* You can now specify the name of the CPPLINT.cfg file through --config as
long as it is in the same directory
* The new __VA_OPT__(,) will now be recognized by the Whitespace linter as
a function
* The check for including a source file's header file will now scan all
files with the same base name
* build/class and build/namespaces no longer check for whether a namespace
or class has a closing brace
* For header files, the check for a header guard's name will now be cached
and only run once, as opposed to previously being run on every line
* Usages of the deprecated sre_compile were refectored
* Usages of deprecated unittest aliases were refactored
* Typos in this changelog, comments and functions were fixed
* %-strings were modernized into f-strings
- Drop patches, all upstream:
* deprecated-unittest-aliases.patch
* drop-sre-compile.patch
* python312.patch
- Add patch do-not-use-codecs-open.patch:
* Do not use deprecated codecs.open() method.
-------------------------------------------------------------------
Mon Jul 7 09:42:55 UTC 2025 - Markéta Machová <mmachova@suse.com>