Bumps the version of the add-trailing-comma hook tool to the latest, to avoid this:
tameyer@tam-canoncial-1:~/code/ops-scenario$ grep 'def storage_add' -A 5 scenario/mocking.py
def storage_add(self, name: str, count: int = 1):
if not isinstance(count, int) or isinstance(count, bool):
raise TypeError(
f"storage count must be integer, got: {count} ({type(count)})",
)
tameyer@tam-canoncial-1:~/code/ops-scenario$ pre-commit run --files scenario/mocking.py add-trailing-comma > /dev/null
tameyer@tam-canoncial-1:~/code/ops-scenario$ grep 'def storage_add' -A 5 scenario/mocking.py
def storage_add(self, name: str, count: int = 1):
if not isinstance(count, int) or isinstance(count, bool):
raise TypeError(
f"storage count must be integer, got: {count} ({type(count)},
)",
)
Bumps the version of the add-trailing-comma hook tool to the latest, to avoid this: