File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -188,11 +188,6 @@ def main() -> None:
188188 * current_paths ,
189189 )
190190
191- updated_paths = lint_fix_paths (repo_root )
192- updated_fingerprint = fingerprint_for_paths (repo_root , updated_paths )
193- state .last_tidy_fingerprint = updated_fingerprint
194- save_state (session_id , repo_root , state )
195-
196191 if format_result .returncode != 0 :
197192 write_stop_block (
198193 "`uv run ruff format -- ...` failed for the touched Python files. "
@@ -209,6 +204,11 @@ def main() -> None:
209204 )
210205 return
211206
207+ updated_paths = lint_fix_paths (repo_root )
208+ updated_fingerprint = fingerprint_for_paths (repo_root , updated_paths )
209+ state .last_tidy_fingerprint = updated_fingerprint
210+ save_state (session_id , repo_root , state )
211+
212212 if updated_fingerprint != current_fingerprint :
213213 write_stop_block (
214214 "I ran targeted tidy steps on the touched Python files "
You can’t perform that action at this time.
0 commit comments