Skip to content

Commit

Permalink
Revert "Merge pull request #75 from GeckoEidechse/fix/remove-distutil…
Browse files Browse the repository at this point in the history
…s-strtobool-dependency"

This reverts commit ba70c96, reversing
changes made to caa1792.
  • Loading branch information
DoozyX committed Sep 4, 2024
1 parent 94868e2 commit c71d0bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run-clang-format.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import sys
import traceback
import re
from distutils.util import strtobool

from functools import partial

Expand Down Expand Up @@ -310,7 +311,7 @@ def main():
parser.add_argument(
'-i',
'--inplace',
action=argparse.BooleanOptionalAction,
type=lambda x: bool(strtobool(x)),
default=False,
help='Just fix files (`clang-format -i`) instead of returning a diff')

Expand Down

0 comments on commit c71d0bf

Please sign in to comment.