(python3) km@km-pt ~/g/i/commit-message-validator> cat tox.ini [tox] # Environements to execute when invoking 'tox' envlist = py{27,34,35,36,37}-{flake8,pytest} skip_missing_interpreters = True requires = tox-wikimedia [testenv] deps = pytest: six [testenv:sample] commands = python commit_message_validator/tests/sample_repository.py {posargs} [flake8] exclude = .tox max_line_length = 120 (python3) km@km-pt ~/g/i/commit-message-validator> tox GLOB sdist-make: /home/km/gerrit/integration/commit-message-validator/setup.py py27-flake8 create: /home/km/gerrit/integration/commit-message-validator/.tox/py27-flake8 py27-flake8 installdeps: flake8 py27-flake8 inst: /home/km/gerrit/integration/commit-message-validator/.tox/.tmp/package/1/commit-message-validator-0.6.0.zip py27-flake8 installed: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support,commit-message-validator==0.6.0,configparser==3.7.4,entrypoints==0.3,enum34==1.1.6,flake8==3.7.8,functools32==3.2.3.post2,mccabe==0.6.1,pycodestyle==2.5.0,pyflakes==2.1.1,typing==3.7.4 py27-flake8 run-test-pre: PYTHONHASHSEED='2106344467' py27-flake8 runtests: commands[0] | flake8 py27-pytest create: /home/km/gerrit/integration/commit-message-validator/.tox/py27-pytest py27-pytest installdeps: six, pytest py27-pytest inst: /home/km/gerrit/integration/commit-message-validator/.tox/.tmp/package/1/commit-message-validator-0.6.0.zip py27-pytest installed: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support,atomicwrites==1.3.0,attrs==19.1.0,commit-message-validator==0.6.0,configparser==3.7.4,contextlib2==0.5.5,funcsigs==1.0.2,importlib-metadata==0.18,more-itertools==5.0.0,packaging==19.0,pathlib2==2.3.4,pluggy==0.12.0,py==1.8.0,pyparsing==2.4.0,pytest==4.6.4,scandir==1.10.0,six==1.12.0,wcwidth==0.1.7,zipp==0.5.2 py27-pytest run-test-pre: PYTHONHASHSEED='2106344467' py27-pytest runtests: commands[0] | pytest ============================= test session starts ============================== platform linux2 -- Python 2.7.16, pytest-4.6.4, py-1.8.0, pluggy-0.12.0 cachedir: .tox/py27-pytest/.pytest_cache rootdir: /home/km/gerrit/integration/commit-message-validator collected 34 items commit_message_validator/tests/test_GerritMessageValidator.py . [ 2%] commit_message_validator/tests/test_commit-message-validator.py ........ [ 26%] .................... [ 85%] commit_message_validator/tests/test_message_validator.py ..... [100%] ========================== 34 passed in 0.23 seconds =========================== py34-flake8 create: /home/km/gerrit/integration/commit-message-validator/.tox/py34-flake8 py34-flake8 installdeps: flake8 py34-flake8 inst: /home/km/gerrit/integration/commit-message-validator/.tox/.tmp/package/1/commit-message-validator-0.6.0.zip py34-flake8 installed: DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).,commit-message-validator==0.6.0,entrypoints==0.3,flake8==3.7.8,mccabe==0.6.1,pycodestyle==2.5.0,pyflakes==2.1.1,typing==3.7.4 py34-flake8 run-test-pre: PYTHONHASHSEED='2106344467' py34-flake8 runtests: commands[0] | /home/km/gerrit/integration/commit-message-validator/.tox/py27-flake8/bin/flake8 py34-pytest create: /home/km/gerrit/integration/commit-message-validator/.tox/py34-pytest py34-pytest installdeps: six, pytest py34-pytest inst: /home/km/gerrit/integration/commit-message-validator/.tox/.tmp/package/1/commit-message-validator-0.6.0.zip py34-pytest installed: DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).,atomicwrites==1.3.0,attrs==19.1.0,commit-message-validator==0.6.0,importlib-metadata==0.18,more-itertools==7.2.0,packaging==19.0,pathlib2==2.3.4,pluggy==0.12.0,py==1.8.0,pyparsing==2.4.0,pytest==4.6.4,scandir==1.10.0,six==1.12.0,wcwidth==0.1.7,zipp==0.5.2 py34-pytest run-test-pre: PYTHONHASHSEED='2106344467' py34-pytest runtests: commands[0] | /home/km/gerrit/integration/commit-message-validator/.tox/py27-pytest/bin/pytest ============================= test session starts ============================== platform linux2 -- Python 2.7.16, pytest-4.6.4, py-1.8.0, pluggy-0.12.0 cachedir: .tox/py34-pytest/.pytest_cache rootdir: /home/km/gerrit/integration/commit-message-validator collected 34 items commit_message_validator/tests/test_GerritMessageValidator.py . [ 2%] commit_message_validator/tests/test_commit-message-validator.py ........ [ 26%] .................... [ 85%] commit_message_validator/tests/test_message_validator.py ..... [100%] ========================== 34 passed in 0.23 seconds =========================== py35-flake8 create: /home/km/gerrit/integration/commit-message-validator/.tox/py35-flake8 py35-flake8 installdeps: flake8 py35-flake8 inst: /home/km/gerrit/integration/commit-message-validator/.tox/.tmp/package/1/commit-message-validator-0.6.0.zip py35-flake8 installed: commit-message-validator==0.6.0,entrypoints==0.3,flake8==3.7.8,mccabe==0.6.1,pycodestyle==2.5.0,pyflakes==2.1.1 py35-flake8 run-test-pre: PYTHONHASHSEED='2106344467' py35-flake8 runtests: commands[0] | /home/km/gerrit/integration/commit-message-validator/.tox/py27-flake8/bin/flake8 py35-pytest create: /home/km/gerrit/integration/commit-message-validator/.tox/py35-pytest py35-pytest installdeps: six, pytest py35-pytest inst: /home/km/gerrit/integration/commit-message-validator/.tox/.tmp/package/1/commit-message-validator-0.6.0.zip py35-pytest installed: atomicwrites==1.3.0,attrs==19.1.0,commit-message-validator==0.6.0,importlib-metadata==0.18,more-itertools==7.2.0,packaging==19.0,pathlib2==2.3.4,pluggy==0.12.0,py==1.8.0,pyparsing==2.4.0,pytest==5.0.1,six==1.12.0,wcwidth==0.1.7,zipp==0.5.2 py35-pytest run-test-pre: PYTHONHASHSEED='2106344467' py35-pytest runtests: commands[0] | /home/km/gerrit/integration/commit-message-validator/.tox/py27-pytest/bin/pytest ============================= test session starts ============================== platform linux2 -- Python 2.7.16, pytest-4.6.4, py-1.8.0, pluggy-0.12.0 cachedir: .tox/py35-pytest/.pytest_cache rootdir: /home/km/gerrit/integration/commit-message-validator collected 34 items commit_message_validator/tests/test_GerritMessageValidator.py . [ 2%] commit_message_validator/tests/test_commit-message-validator.py ........ [ 26%] .................... [ 85%] commit_message_validator/tests/test_message_validator.py ..... [100%] ========================== 34 passed in 0.22 seconds =========================== py36-flake8 create: /home/km/gerrit/integration/commit-message-validator/.tox/py36-flake8 py36-flake8 installdeps: flake8 py36-flake8 inst: /home/km/gerrit/integration/commit-message-validator/.tox/.tmp/package/1/commit-message-validator-0.6.0.zip py36-flake8 installed: commit-message-validator==0.6.0,entrypoints==0.3,flake8==3.7.8,mccabe==0.6.1,pycodestyle==2.5.0,pyflakes==2.1.1 py36-flake8 run-test-pre: PYTHONHASHSEED='2106344467' py36-flake8 runtests: commands[0] | /home/km/gerrit/integration/commit-message-validator/.tox/py27-flake8/bin/flake8 py36-pytest create: /home/km/gerrit/integration/commit-message-validator/.tox/py36-pytest py36-pytest installdeps: six, pytest py36-pytest inst: /home/km/gerrit/integration/commit-message-validator/.tox/.tmp/package/1/commit-message-validator-0.6.0.zip py36-pytest installed: atomicwrites==1.3.0,attrs==19.1.0,commit-message-validator==0.6.0,importlib-metadata==0.18,more-itertools==7.2.0,packaging==19.0,pluggy==0.12.0,py==1.8.0,pyparsing==2.4.0,pytest==5.0.1,six==1.12.0,wcwidth==0.1.7,zipp==0.5.2 py36-pytest run-test-pre: PYTHONHASHSEED='2106344467' py36-pytest runtests: commands[0] | /home/km/gerrit/integration/commit-message-validator/.tox/py27-pytest/bin/pytest ============================= test session starts ============================== platform linux2 -- Python 2.7.16, pytest-4.6.4, py-1.8.0, pluggy-0.12.0 cachedir: .tox/py36-pytest/.pytest_cache rootdir: /home/km/gerrit/integration/commit-message-validator collected 34 items commit_message_validator/tests/test_GerritMessageValidator.py . [ 2%] commit_message_validator/tests/test_commit-message-validator.py ........ [ 26%] .................... [ 85%] commit_message_validator/tests/test_message_validator.py ..... [100%] ========================== 34 passed in 0.24 seconds =========================== py37-flake8 create: /home/km/gerrit/integration/commit-message-validator/.tox/py37-flake8 py37-flake8 installdeps: flake8 py37-flake8 inst: /home/km/gerrit/integration/commit-message-validator/.tox/.tmp/package/1/commit-message-validator-0.6.0.zip py37-flake8 installed: commit-message-validator==0.6.0,entrypoints==0.3,flake8==3.7.8,mccabe==0.6.1,pycodestyle==2.5.0,pyflakes==2.1.1 py37-flake8 run-test-pre: PYTHONHASHSEED='2106344467' py37-flake8 runtests: commands[0] | /home/km/gerrit/integration/commit-message-validator/.tox/py27-flake8/bin/flake8 py37-pytest create: /home/km/gerrit/integration/commit-message-validator/.tox/py37-pytest py37-pytest installdeps: six, pytest py37-pytest inst: /home/km/gerrit/integration/commit-message-validator/.tox/.tmp/package/1/commit-message-validator-0.6.0.zip py37-pytest installed: atomicwrites==1.3.0,attrs==19.1.0,commit-message-validator==0.6.0,importlib-metadata==0.18,more-itertools==7.2.0,packaging==19.0,pluggy==0.12.0,py==1.8.0,pyparsing==2.4.0,pytest==5.0.1,six==1.12.0,wcwidth==0.1.7,zipp==0.5.2 py37-pytest run-test-pre: PYTHONHASHSEED='2106344467' py37-pytest runtests: commands[0] | /home/km/gerrit/integration/commit-message-validator/.tox/py27-pytest/bin/pytest ============================= test session starts ============================== platform linux2 -- Python 2.7.16, pytest-4.6.4, py-1.8.0, pluggy-0.12.0 cachedir: .tox/py37-pytest/.pytest_cache rootdir: /home/km/gerrit/integration/commit-message-validator collected 34 items commit_message_validator/tests/test_GerritMessageValidator.py . [ 2%] commit_message_validator/tests/test_commit-message-validator.py ........ [ 26%] .................... [ 85%] commit_message_validator/tests/test_message_validator.py ..... [100%] ========================== 34 passed in 0.27 seconds =========================== ___________________________________ summary ____________________________________ py27-flake8: commands succeeded py27-pytest: commands succeeded py34-flake8: commands succeeded py34-pytest: commands succeeded py35-flake8: commands succeeded py35-pytest: commands succeeded py36-flake8: commands succeeded py36-pytest: commands succeeded py37-flake8: commands succeeded py37-pytest: commands succeeded congratulations :)