File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -409,8 +409,8 @@ def run_checks(path: Path) -> None:
409409 CheckError -- If snapshot is not equal to current output.
410410 """
411411 logger = Config .logger
412- logger . info ( f"Checking { path .absolute ().relative_to (Path .cwd ()) } ..." )
413- relative_path = path . relative_to ( Path . cwd () )
412+ relative_path = path .absolute ().relative_to (Path .cwd ())
413+ logger . info ( f"Checking { relative_path } ..." )
414414 logger .debug (f"Running ruff for { relative_path } ..." )
415415 run_ruff (path )
416416 logger .debug (f"Running mypy for { relative_path } ..." )
@@ -423,7 +423,7 @@ def run_checks(path: Path) -> None:
423423 run_call (path )
424424 logger .debug (f"Running import for { relative_path } ..." )
425425 run_import (path )
426- logger .info (f"Finished { path . absolute (). relative_to ( Path . cwd ()) } ..." )
426+ logger .info (f"Finished { relative_path } ..." )
427427
428428
429429def get_package_paths () -> tuple [Path , ...]:
You can’t perform that action at this time.
0 commit comments