Commit Graph

  • 31783c11fc Accepting request 1314617 from devel:languages:python factory Ana Guerrero 2025-10-31 15:28:10 +00:00
  • 8f2c3d6d69 - 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 Steve Kowalik 2025-10-31 02:28:31 +00:00
  • b18afcc920 Accepting request 1291007 from devel:languages:python Ana Guerrero 2025-07-07 12:49:52 +00:00
  • 0d3bbb2335 - Convert to libalternatives Markéta Machová 2025-07-07 09:43:33 +00:00
  • db76587fd9 Accepting request 1285958 from devel:languages:python Ana Guerrero 2025-06-16 09:13:05 +00:00
  • 1667ee69b2 - Switch to pyroject macros. Steve Kowalik 2025-06-16 06:20:47 +00:00
  • 3759978892 Accepting request 1148332 from devel:languages:python Ana Guerrero 2024-02-21 16:57:20 +00:00
  • a5cbf23eb4 - Add upstream patches to support python 3.12 - deprecated-unittest-aliases.patch, gh#cpplint/cpplint#182 - python312.patch, gh#cpplint/cpplint#243 Daniel Garcia 2024-02-20 19:12:26 +00:00
  • 99b91bbde9 Accepting request 1078255 from devel:languages:python Dominique Leuenberger 2023-04-10 19:24:50 +00:00
  • ed75e55624 - 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 Daniel Garcia 2023-04-10 12:05:37 +00:00
  • dd1a6a756f Accepting request 830677 from devel:languages:python Dominique Leuenberger 2020-08-31 14:50:59 +00:00
  • d4c929c1eb - 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 Steve Kowalik 2020-08-31 06:54:39 +00:00
  • 5b41de5beb Accepting request 817961 from devel:languages:python Dominique Leuenberger 2020-07-01 12:27:01 +00:00
  • 47a9f4ec4d - Add missing BuildRequires on textfixtures. Steve Kowalik 2020-07-01 04:35:45 +00:00
  • a84f045079 - 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 Steve Kowalik 2020-06-25 04:46:29 +00:00
  • 9944b5d878 Accepting request 809606 from devel:languages:python Yuchen Lin 2020-05-28 07:19:45 +00:00
  • bcdc200b9f Accepting request 809587 from home:pgajdos:python Tomáš Chvátal 2020-05-27 14:46:35 +00:00
  • 91850a6b2c Accepting request 790634 from devel:languages:python Dominique Leuenberger 2020-04-01 17:20:56 +00:00
  • a6335f7c88 Accepting request 790615 from home:mcalabkova:branches:devel:languages:python Tomáš Chvátal 2020-04-01 14:59:59 +00:00
  • a453154a31 Accepting request 679179 from devel:languages:python Dominique Leuenberger 2019-02-26 21:21:07 +00:00
  • 656bd70cb2 Accepting request 679076 from home:jayvdb:coala:python3-bears Tomáš Chvátal 2019-02-26 08:54:01 +00:00