[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
committed by
yangliwei
parent
b432be6d9c
commit
898ca877e9
4
setup.py
4
setup.py
@@ -9,8 +9,8 @@ PACKAGE = "qibotn"
|
||||
|
||||
# Returns the qibotn version
|
||||
def version():
|
||||
"""Gets the version from the package's __init__ file
|
||||
if there is some problem, let it happily fail"""
|
||||
"""Gets the version from the package's __init__ file if there is some
|
||||
problem, let it happily fail."""
|
||||
version_file = HERE / "src" / PACKAGE / "__init__.py"
|
||||
version_regex = r"^__version__ = ['\"]([^'\"]*)['\"]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user