From 7125ce0507ab7ca065bd5b214ff0534f191243ca Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Fri, 7 Mar 2025 16:28:50 -0500 Subject: [PATCH 1/3] prepare for release 2.0.1 and update changelog * correct links for 2.0.1 changes * it's not january anymore aaron... * retroactively add some things that were included in 2.0 but not in its changgelog * bump version --- CHANGELOG.rst | 9 +++++---- cpplint.py | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 50db299..776179c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,22 +2,23 @@ Changelog ********* -2.0.1 (2025-01-??) +2.0.1 (2025-03-08) ================== Yet another overdue... hotfix. Sorry this took so long. -* The false positive for indented function parameters in namespaces was eradicated. -* build/include-what-you-use now recognizes c-style headers, such as for symbols from . (https://github.com/cpplint/cpplint/pull/306) +* The false positive for indented function parameters in namespaces was eradicated. (https://github.com/cpplint/cpplint/pull/304) +* build/include-what-you-use now recognizes c-style headers, such as for symbols from . (https://github.com/cpplint/cpplint/pull/319) 2.0 (2024-10-06) ================ A large long-overdue modernization of the codebase! -* Python 2 is no longer supported. Python 3.12 support was added along with fixed CI for 3.7 and 3.8, courtesy of @jayvdb +* Python 2 and 3.7 are no longer supported. Python 3.12 support was added along with fixed CI for 3.7 and 3.8, courtesy of @jayvdb * As a result of all this, setup.py's lint subcommand was removed. Please run the commands directly instead. * You can now specify blocks of code that exclude linting with NOLINTBEGIN and NOLINTEND, courtesy of @n3world (https://github.com/cpplint/cpplint/pull/213) +* The config filename can now be specified through `--config` thanks to @gedankenexperimenter (https://github.com/cpplint/cpplint/pull/198). Specifying a config file not under the current directory will be available in a future release. * The `--filter` option can now be only applied to a specific file or even a specific line through utilizing colons, e.g. `-filter=-whitespace:foo.h,+whitespace/braces:foo.h:418`. Courtesy of @PhilLab (https://github.com/cpplint/cpplint/pull/171) * NOLINT and NOLINTNEXTLINE comments now support a comma-separated list of categories, courtesy of @n3world (https://github.com/cpplint/cpplint/pull/220) * NOLINT and NOLINTNEXTLINE will now ignore categories known to be from clang-tidy thanks to @xatier (https://github.com/cpplint/cpplint/pull/231) diff --git a/cpplint.py b/cpplint.py index 0e658d2..769a1b9 100755 --- a/cpplint.py +++ b/cpplint.py @@ -59,7 +59,7 @@ # if empty, use defaults _valid_extensions = set([]) -__VERSION__ = '2.0.0' +__VERSION__ = '2.0.1' _USAGE = """ Syntax: cpplint.py [--verbose=#] [--output=emacs|eclipse|vs7|junit|sed|gsed] From 7a054acbd7f2d15fd61920896a546adfa56bafde Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Sat, 8 Mar 2025 22:31:09 -0500 Subject: [PATCH 2/3] bump release date --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 776179c..e269e4b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,7 +2,7 @@ Changelog ********* -2.0.1 (2025-03-08) +2.0.1 (2025-03-09) ================== Yet another overdue... hotfix. Sorry this took so long. From 41f1f940627779c8eb0fdac8e30cee2e10e766a5 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 9 Mar 2025 12:51:04 +0100 Subject: [PATCH 3/3] Python versions less than 3.8 are no longer supported. --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e269e4b..d62e33c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,7 +15,7 @@ Yet another overdue... hotfix. Sorry this took so long. A large long-overdue modernization of the codebase! -* Python 2 and 3.7 are no longer supported. Python 3.12 support was added along with fixed CI for 3.7 and 3.8, courtesy of @jayvdb +* Python versions less than 3.8 are no longer supported. Python 3.12 support was added along with fixed CI for 3.7 and 3.8, courtesy of @jayvdb * As a result of all this, setup.py's lint subcommand was removed. Please run the commands directly instead. * You can now specify blocks of code that exclude linting with NOLINTBEGIN and NOLINTEND, courtesy of @n3world (https://github.com/cpplint/cpplint/pull/213) * The config filename can now be specified through `--config` thanks to @gedankenexperimenter (https://github.com/cpplint/cpplint/pull/198). Specifying a config file not under the current directory will be available in a future release.