Skip to content

Commit d04e8c4

Browse files
committed
Fix line length
1 parent 1efb0bd commit d04e8c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pre_commit/main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,9 @@ def _adjust_args_and_chdir(args: argparse.Namespace) -> None:
168168
try:
169169
args.config = os.path.relpath(args.config)
170170
# https://github.com/pre-commit/pre-commit/issues/2530
171-
# os.relpath will fail with a ValueError if the two directories are on two different drives on Windows
172-
# the path is made relative for display purposes only so we can ignore the error
171+
# os.relpath will fail with a ValueError if the two directories are on
172+
# two different drives on Windows and since the path is made relative
173+
# for display purposes only we can ignore the error
173174
except ValueError:
174175
pass
175176
if args.command in {'run', 'try-repo'}:

0 commit comments

Comments
 (0)