Skip to content

Commit ef3852c

Browse files
committed
Add pylint check on benchmarking code.
1 parent 7f9a679 commit ef3852c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python-project-template/.github/workflows/{% if preferred_linter != 'none' %}linting.yml{% endif %}.jinja

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
run: |
3535
pylint -rn -sn --recursive=y ./src --rcfile=./src/.pylintrc
3636
pylint -rn -sn --recursive=y ./tests --rcfile=./tests/.pylintrc
37+
{%- if include_benchmarks %}
38+
pylint -rn -sn --recursive=y ./benchmarks --rcfile=./tests/.pylintrc
39+
{%- endif %}
3740
{%- elif preferred_linter == 'black' %}
3841
uses: psf/black@stable
3942
with:

0 commit comments

Comments
 (0)