mirror of
https://gitea.windcorp.ru/Wind-Corporation/Progressia.git
synced 2025-07-02 04:13:35 +03:00
TMP / pre-commit.py: declare restore=False
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user