Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Changelog
*********

2.0 (Unreleased)
==================
2.0 (2024-10-06)
================

A bunch of long-overdue modernizations of the codebase!
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
* As a result of all this, setup.py's lint subcommand was removed. Please run the commands directly instead.
Expand Down
5 changes: 2 additions & 3 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ For many tasks, it is okay to just develop using a single installed python versi
1. (Optional) Install `pyenv <https://github.com/pyenv/pyenv-installer>`_ to manage python versions
2. (Optional) Using pyenv, install the python versions used in testing::

pyenv install 2.7.16
pyenv install 3.6.8
pyenv install 3.12.6
# ...
pyenv local 2.7.16 3.6.8 ...
pyenv local 3.12.6 ...

It may be okay to run and test python against locally installed libraries, but if you need to have a consistent build, it is recommended to manage your environment using virtualenv: `virtualenv <https://virtualenv.pypa.io/en/latest/>`_, `virtualenvwrapper <https://pypi.org/project/virtualenvwrapper/>`_::

Expand Down
2 changes: 1 addition & 1 deletion cpplint.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
# if empty, use defaults
_valid_extensions = set([])

__VERSION__ = '1.7'
__VERSION__ = '2.0.0'

_USAGE = """
Syntax: cpplint.py [--verbose=#] [--output=emacs|eclipse|vs7|junit|sed|gsed]
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ test = pytest
python_files = *test.py
testpaths = .
required_plugins = pytest-cov pytest-timeout
timeout = 64
# running with tox reports only 75%
addopts = --color=yes --cov-fail-under=75 --cov=cpplint
timeout = 60
# fail if coverage is under 90%
addopts = --color=yes --cov-fail-under=90 --cov=cpplint
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def read_without_comments(filename):
download_url='https://github.com/cpplint/cpplint',
keywords=['lint', 'python', 'c++'],
maintainer='cpplint Developers',
maintainer_email='see_github@nospam.com',
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
Expand Down