Skip to content

Commit 20f12af

Browse files
committed
Update .pre-commit-config.yaml.jinja
1 parent cd64547 commit 20f12af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎python-project-template/.pre-commit-config.yaml.jinja‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ repos:
151151
args:
152152
["docs/pre_executed/"]
153153
{%- endif %}
154-
{%- if not skip_all_source %}
154+
{%- if contains_code %}
155155
# Run unit tests, verify that they pass. Note that coverage is run against
156156
# the ./src directory here because that is what will be committed. In the
157157
# github workflow script, the coverage is run against the installed package

0 commit comments

Comments
 (0)