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