Skip to content

Commit

Permalink
add tab_width argument to fix_file call
Browse files Browse the repository at this point in the history
  • Loading branch information
Roald Ruiter committed Mar 30, 2022
1 parent 50f9b59 commit 5e79512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pre_commit_hooks/xml_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def main(args=None):
args = parser.parse_args()
try:
for filename in args.filenames:
fix_file(filename)
fix_file(filename, tab_width=args.tab_width)
return 0
except Exception as exc:
print(exc)
Expand Down

0 comments on commit 5e79512

Please sign in to comment.