Skip to content

Commit

Permalink
refactor: Improve virtualenv check
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Jun 2, 2023
1 parent 4aaf3e9 commit 17a2ef2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions project/Makefile.jinja
@@ -1,7 +1,6 @@
.DEFAULT_GOAL := help
SHELL := bash

DUTY = $(shell [ -n "${VIRTUAL_ENV}" ] || echo pdm run) duty
DUTY := $(if $(VIRTUAL_ENV),,pdm run) duty

args = $(foreach a,$($(subst -,_,$1)_args),$(if $(value $a),$a="$($a)"))
check_quality_args = files
Expand Down

0 comments on commit 17a2ef2

Please sign in to comment.