TMP / pre-commit.py: declare restore=False

This commit is contained in:
OLEGSHA 2022-12-17 15:06:26 +03:00
parent 1fd971beaf
commit 8690f57833

View File

@ -219,6 +219,7 @@ def pre_commit():
run_safety_checks(indexed, unindexed)
undo_formatting = False
restore = False
try:
if len(unindexed) != 0:
long_print_iter('Unindexed changes found in files', unindexed)