ignore unrelated flake8 B902

This commit is contained in:
Robert Kaussow 2021-01-09 12:25:13 +01:00
parent 2e9505ba8d
commit 73a8d39360
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -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: