Conditions | 1 |
Total Lines | 14 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | # -*- coding: utf-8 -*- |
||
23 | def get_version() -> str: |
||
24 | """Returns the version of gvm-tools as a string in `PEP440`_ compliant |
||
25 | format. |
||
26 | |||
27 | Returns: |
||
28 | str: Current version of gvm-tools |
||
29 | |||
30 | .. _PEP440: |
||
31 | https://www.python.org/dev/peps/pep-0440 |
||
32 | """ |
||
33 | # pylint: disable=import-outside-toplevel |
||
|
|||
34 | from .__version__ import __version__ |
||
35 | |||
36 | return __version__ |
||
37 |