Browse Source

fix python version in tox file: py35 -> py37

Change-Id: I74cdd7462cd5134b22d0c6b13aafd0e88ef60e1c
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
tags/1.0.1^0
Moisés Guimarães de Medeiros 4 months ago
parent
commit
2c36df6bf3
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      microversion_parse/__init__.py
  2. +1
    -1
      tox.ini

+ 1
- 1
microversion_parse/__init__.py View File

@@ -25,7 +25,7 @@ class Version(collections.namedtuple('Version', 'major minor')):
"""

def __new__(cls, major, minor):
"""Add mix and max version attributes to the tuple."""
"""Add min and max version attributes to the tuple."""
self = super(Version, cls).__new__(cls, major, minor)
self.max_version = (-1, 0)
self.min_version = (-1, 0)


+ 1
- 1
tox.ini View File

@@ -3,7 +3,7 @@ minversion = 3.1.1
skipsdist = True
# If you want pypy or pypy3, do 'tox -epypy,pypy3', it might work!
# And you can get coverage with 'tox -ecover'.
envlist = py36,py35,pep8
envlist = py36,py37,pep8
ignore_basepython_conflict = True

[testenv]


Loading…
Cancel
Save