mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 05:04:38 +03:00
run black
This commit is contained in:
@@ -700,7 +700,11 @@ class Cli:
|
||||
try:
|
||||
Version(version_str)
|
||||
except ValueError:
|
||||
self.logger.error("Invalid version: '{}'! Please use the form '5.X.Y'.".format(version_str))
|
||||
self.logger.error(
|
||||
"Invalid version: '{}'! Please use the form '5.X.Y'.".format(
|
||||
version_str
|
||||
)
|
||||
)
|
||||
exit(1)
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,9 @@ def test_cli_invalid_version(capsys, invalid_version):
|
||||
|
||||
matcher = re.compile(
|
||||
r"^aqtinstall\(aqt\) v.* on Python 3.*\n"
|
||||
r".*Invalid version: '" + invalid_version + r"'! Please use the form '5\.X\.Y'\.\n.*"
|
||||
r".*Invalid version: '"
|
||||
+ invalid_version
|
||||
+ r"'! Please use the form '5\.X\.Y'\.\n.*"
|
||||
)
|
||||
|
||||
for cmd in "install", "doc", "list":
|
||||
|
||||
Reference in New Issue
Block a user