Skip to content

Commit

Permalink
pre-commit: Don't string-normalize quotes in xen-bugtool for now
Browse files Browse the repository at this point in the history
Signed-off-by: Bernhard Kaindl <[email protected]>
  • Loading branch information
bernhardkaindl committed Jan 8, 2024
1 parent 33a45f5 commit 728d4ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
.RECIPEPREFIX=>

DARKER_OPTS = --isort -tpy36 --skip-string-normalization
darker-xen-bugtool:
>@ pip install 'darker[isort]'
>@ tmp=`mktemp` ;\
> darker --stdout --isort -tpy36 xen-bugtool >$$tmp ||\
> darker --stdout $(DARKER_OPTS) xen-bugtool >$$tmp ||\
> exit 5 ;\
> diff -u xen-bugtool $$tmp ;\
> if [ $$? != 0 ]; then cat $$tmp >xen-bugtool ;fi
Expand Down

0 comments on commit 728d4ee

Please sign in to comment.