Skip to content
This repository was archived by the owner on Sep 28, 2020. It is now read-only.

Commit 5c1732b

Browse files
authored
Add Python 3.8 support & license file (#3)
* Add Python 3.8 support * Drop Python 3.4 support * Fix type hint syntax * Update gitignore * Add license file
1 parent 0fac1a5 commit 5c1732b

File tree

7 files changed

+28
-8
lines changed

7 files changed

+28
-8
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
.idea
33
build/
44
dist
5-
__pycache__
5+
__pycache__
6+
venv
7+
.tox

.travis.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
language: python
2-
2+
dist: xenial
33
matrix:
44
include:
55
- python: 2.7
6-
- python: 3.4
76
- python: 3.5
87
- python: 3.6
98
- python: 3.7
10-
dist: xenial
11-
sudo: true
9+
- python: 3.8
1210
- python: pypy
1311
- python: pypy3
1412

LICENSE.txt

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Copyright (c) 2019 John Hagen
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
4+
and associated documentation files (the "Software"), to deal in the Software without restriction,
5+
including without limitation the rights to use, copy, modify, merge, publish, distribute,
6+
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7+
furnished to do so, subject to the following conditions:
8+
9+
The above copyright notice and this permission notice shall be included in all copies or
10+
substantial portions of the Software.
11+
12+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
13+
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
include README.rst
2+
include LICENSE.txt
23
include requirements.txt

cpplint_junit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def parse_cpplint(file_name):
7070

7171

7272
def generate_test_suite(errors):
73-
# type: Dict[str, List[CpplintError]] -> ElementTree.ElementTree
73+
# type: (Dict[str, List[CpplintError]]) -> ElementTree.ElementTree
7474
"""Creates a JUnit XML tree from parsed cpplint errors.
7575
7676
Args:

setup.cfg

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
[metadata]
2+
license_files = LICENSE.txt
3+
14
[bdist_wheel]
25
universal = 1

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
author='John Hagen',
1313
author_email='[email protected]',
1414
url='https://github.com/johnthagen/cpplint-junit',
15-
license='MIT',
1615

1716
py_modules=['cpplint_junit'],
1817
install_requires=open('requirements.txt').readlines(),
1918
zip_safe=False,
2019

20+
license='MIT',
2121
classifiers=[
2222
'Development Status :: 4 - Beta',
2323
'Environment :: Console',
@@ -29,10 +29,10 @@
2929
'Programming Language :: Python :: 2',
3030
'Programming Language :: Python :: 2.7',
3131
'Programming Language :: Python :: 3',
32-
'Programming Language :: Python :: 3.4',
3332
'Programming Language :: Python :: 3.5',
3433
'Programming Language :: Python :: 3.6',
3534
'Programming Language :: Python :: 3.7',
35+
'Programming Language :: Python :: 3.8',
3636
'Programming Language :: Python :: Implementation :: CPython',
3737
'Programming Language :: Python :: Implementation :: PyPy',
3838
'Topic :: Software Development :: Libraries :: Python Modules',

0 commit comments

Comments
 (0)