lint
This commit is contained in:
parent
ffa318a74d
commit
240fb7ea0d
1 changed files with 3 additions and 1 deletions
|
|
@ -226,7 +226,9 @@ class OverridesIntegerFormatterValidator(StringFormatterValidator):
|
||||||
try:
|
try:
|
||||||
int(output)
|
int(output)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
raise self._validation_exception(f"Expected an integer, but received '{output}'") from exc
|
raise self._validation_exception(
|
||||||
|
f"Expected an integer, but received '{output}'"
|
||||||
|
) from exc
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue