Skip to content
This repository was archived by the owner on Jan 1, 2026. It is now read-only.

Commit a93b3a9

Browse files
authored
Drop Python 3.4, add Python 3.8. Add license file (#8)
1 parent f959388 commit a93b3a9

File tree

6 files changed

+37
-14
lines changed

6 files changed

+37
-14
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22
.idea
33
build/
44
dist
5-
__pycache__
5+
__pycache__
6+
.tox
7+
venv
8+
.coverage

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
language: python
2-
2+
dist: xenial
33
matrix:
44
include:
55
- python: 2.7
66
env: TOXENV=py27
7-
- python: 3.4
8-
env: TOXENV=py34
97
- python: 3.5
108
env: TOXENV=py35
119
- python: 3.6
1210
env: TOXENV=py36
1311
- python: 3.7
1412
env: TOXENV=py37
15-
dist: xenial
16-
sudo: true
13+
- python: 3.8
14+
env: TOXENV=py38
1715
- python: pypy
1816
env: TOXENV=pypy
1917
- python: pypy3
2018
env: TOXENV=pypy3
2119

2220
install:
21+
- pip install --upgrade virtualenv
2322
- pip install tox
2423

2524
script:

LICENSE.txt

Lines changed: 16 additions & 0 deletions
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.

setup.cfg

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
[wheel]
2-
universal = 1
1+
[metadata]
2+
license_files = LICENSE.txt
3+
4+
[bdist_wheel]
5+
universal = 1

setup.py

Lines changed: 2 additions & 2 deletions
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/cppcheck-junit',
15-
license='MIT',
1615

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

20+
license='MIT',
2121
classifiers=[
2222
'Development Status :: 5 - Production/Stable',
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',

tox.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@
22
# Environment changes have to be manually synced with '.travis.yml'.
33
envlist =
44
py27
5-
py34
65
py35
76
py36
87
py37
8+
py38
99
pypy
1010
pypy3
1111

1212
[flake8]
1313
max-line-length = 99
1414
import-order-style = google
15+
exclude =
16+
.git,
17+
.tox,
18+
venv
1519

1620
[testenv]
1721
passenv = CI TRAVIS TRAVIS_*
@@ -21,7 +25,5 @@ deps =
2125

2226
commands =
2327
flake8
24-
# Ignore DeprecationWarning / PendingDeprecationWarning triggered by tox/virtualenv
25-
python -bb -Werror -Wignore::DeprecationWarning -Wignore::PendingDeprecationWarning \
26-
-Wignore::ImportWarning -m pytest --cov=./ test.py
28+
python -bb -m pytest --cov=./ test.py
2729
codecov -e TOXENV

0 commit comments

Comments
 (0)