Skip to content

Commit

Permalink
fix: removed version from __init__
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Horton <phorton@sonatype.com>
  • Loading branch information
madpah committed Dec 17, 2021
1 parent ceba061 commit 4e83b9d
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions requirements/__init__.py
@@ -1,22 +1,5 @@
from .parser import parse # noqa
from .parser import parse

_MAJOR = 0
_MINOR = 2
_PATCH = 0


def version_tuple():
'''
Returns a 3-tuple of ints that represent the version
'''
return (_MAJOR, _MINOR, _PATCH)


def version():
'''
Returns a string representation of the version
'''
return '%d.%d.%d' % (version_tuple())


__version__ = version()
__all__ = [
parse
]

0 comments on commit 4e83b9d

Please sign in to comment.