Skip to content

Commit 600a9f3

Browse files
authored
Support Python 3.7 (#244)
1 parent aa8b746 commit 600a9f3

File tree

5 files changed

+16
-9
lines changed

5 files changed

+16
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
python-version: ['3.9', 'pypy3.10', '3.11', '3.12']
8+
# Python 3.7 is the highest available for actions/setup-python
9+
python-version: ['3.7', '3.8', '3.9', 'pypy3.10', '3.11', '3.12']
910
fail-fast: false
1011

1112
steps:

changelog.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
Changelog
22
=========
33

4+
1.7.0 (Unreleased)
5+
-----
6+
7+
8+
49
1.6.1 (2022-08-20)
510
-----
611

712
* Fix #195 Fix post increment/decrement operator causing a false positive.
8-
* Fix #202 .hh files should not be considered sytem headers
13+
* Fix #202 .hh files should not be considered system headers
914
* Fix #207 Python2 incompatibility for loading CPPLINT.cfg file
1015
* Fix #184 NOLINT(clang-analyzer) comments should not cause warnings
1116

@@ -20,7 +25,7 @@ Changelog
2025
* Fix #172: Added 'size_t' to typecasts detected by CheckCStyleCast
2126
* Fixed wrong CLI help text: Each filter needs + or -
2227
* Fix #164: add elif as an exception for CheckSpacingForFunctionCall()
23-
* Fix google#346: --root option not working on windows due to slashes in path
28+
* Fix google#346: --root option not working on Windows due to slashes in path
2429

2530
1.5.4 (2020-08-18)
2631
-----
@@ -40,7 +45,7 @@ Changelog
4045
* Fix #83, output formats "sed" and "gsed" to auto-fix some issues
4146
* Fix #92, new category "build/namespaces_headers" for unnamed namespaces in header file
4247
* Sort list of files before processing
43-
* Fix #144 Falso positive for indent when using QT macros "signals" and "slots"
48+
* Fix #144 False positive for indent when using QT macros "signals" and "slots"
4449
* Fix #76 Parsing of class decorators that also use digits
4550
* Fix #139 Add message "Relative paths like . and .. are not allowed"
4651

dev-requirements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# requirements to run development steps
22

3-
# also change in tox.ini, gitlab/ci.yml
3+
# also change in tox.ini
44
flake8>=4.0.1
55
flake8-polyfill
66
pylint>=2.11.0

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ def read_without_comments(filename):
2525
maintainer='cpplint Developers',
2626
maintainer_email='see_github@nospam.com',
2727
classifiers=['Programming Language :: Python',
28+
'Programming Language :: Python :: 3.7',
2829
'Programming Language :: Python :: 3.8',
2930
'Programming Language :: Python :: 3.9',
3031
'Programming Language :: Python :: 3.10',
3132
'Programming Language :: Python :: 3.11',
33+
'Programming Language :: Python :: 3.12',
3234
'Programming Language :: C++',
3335
'Development Status :: 5 - Production/Stable',
3436
'Environment :: Console',
@@ -37,9 +39,6 @@ def read_without_comments(filename):
3739
description='Automated checker to ensure C++ files follow Google\'s style guide',
3840
long_description=open('README.rst').read(),
3941
license='BSD-3-Clause',
40-
setup_requires=[
41-
"pytest-runner==5.2"
42-
],
4342
tests_require=test_required,
4443
# extras_require allow pip install .[dev]
4544
extras_require={

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[tox]
2-
envlist = py39, py310, py312, pypy3
2+
envlist = py35, py36, py37, py38, py39, py310, py312, pypy3
33

44
[gh-actions]
55
python =
6+
3.7: py37
7+
3.8: py38
68
3.9: py39
79
3.10: py310
810
3.12: py312

0 commit comments

Comments
 (0)