mirror of
https://github.com/thegeeklab/docker-autotag.git
synced 2024-06-10 11:40:51 +02:00
ignore unrelated flake8 B902
This commit is contained in:
parent
2e9505ba8d
commit
73a8d39360
|
@ -90,9 +90,9 @@ class Autotag:
|
||||||
except ValueError:
|
except ValueError:
|
||||||
try:
|
try:
|
||||||
version = semantic_version.Version.coerce(ref)
|
version = semantic_version.Version.coerce(ref)
|
||||||
except Exception:
|
except Exception: #noqa:B902
|
||||||
return default
|
return default
|
||||||
except Exception:
|
except Exception: #noqa:B902
|
||||||
return default
|
return default
|
||||||
|
|
||||||
if version.prerelease:
|
if version.prerelease:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user