File python-cpplint.changes of Package python-cpplint

-------------------------------------------------------------------
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>

- Convert to libalternatives

-------------------------------------------------------------------
Mon Jun 16 06:12:19 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

- Switch to pyroject macros.

-------------------------------------------------------------------
Tue Feb 20 19:11:15 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

- Add upstream patches to support python 3.12
  - deprecated-unittest-aliases.patch, gh#cpplint/cpplint#182
  - python312.patch, gh#cpplint/cpplint#243

-------------------------------------------------------------------
Mon Apr 10 12:03:48 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

- Add drop-sre-compile.patch upstream patch to fix issues with
  deprecated usage of sre_compile gh#cpplint/cpplint#214
- Update to 1.6.1
  * Fix #195 Fix post increment/decrement operator causing a false positive.
  * Fix #202 .hh files should not be considered sytem headers
  * Fix #207 Python2 incompatibility for loading CPPLINT.cfg file
  * Fix #184 NOLINT(clang-analyzer) comments should not cause warnings
- 1.6.0 (2022-02-19)
  * Fix #188: "Include the directory when naming header files" also
    for header files with other names like "*.hpp"
- 1.5.5 (2021-05-20)
  * Fix #172: Added 'size_t' to typecasts detected by CheckCStyleCast
  * Fixed wrong CLI help text: Each filter needs + or -
  * Fix #164: add elif as an exception for CheckSpacingForFunctionCall()
  * Fix google#346: --root option not working on windows due to
    slashes in path

-------------------------------------------------------------------
Mon Aug 31 06:47:40 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>

- Update to 1.5.4:
  * Fix google#166, Allow space before C++11 attributes
  * Fix #156: sed/gsed output parameter rejected
  * Fix #156: sed/gsed output without other stdout information
  * improvements to regression tests 

-------------------------------------------------------------------
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>

- %python3_only -> %python_alternative

-------------------------------------------------------------------
Wed Apr  1 14:13:44 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

- update to 1.4.5
  * Add support for c++17 tuple destructuring
  * Travis CI: Add Python 3.8 to the testing
  * Fix linting unnecessary elif after break

-------------------------------------------------------------------
Mon Feb 25 23:10:30 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

- Remove bcond test
- Remove unnecessary build dependency on python devel
- Add %license
- Update to v1.4.4
  * fix unit/cli tests for source release
  * reduce diff to upstream by intentionally using deprecated functions
    where upstream uses them
  * add --version
- from 1.4.3
  * Revert "Fix the build/endif_comment check", same as reverted in upstream
- from 1.4.2
  * Cleanup release, fixes further issues with tests and source distribution
- from 1.4.1
  * Cleanup release, only adds test support files to source dist
- from 1.4.0
  * Incorporate cpplint updates from google (e5d807c6a0d, 2018-05-03)
  * Fix the build/endif_comment check
  * Teach the explicit constructor check about constexpr
  * Changed vs7 output format
  * Remove presubmit check for DISALLOW_* macros
  * add --quiet flag as in upstream
  * support --root argument to run in different folder
  * Fix 16bit Unicode issue

-------------------------------------------------------------------
Thu Nov 16 17:44:38 UTC 2017 - toddrme2178@gmail.com

- Initial version for v1.3.0
openSUSE Build Service is sponsored by