Skip to content

Commit 6cd026a

Browse files
authored
ci: add pre-commit job
1 parent 63e6b82 commit 6cd026a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

{{cookiecutter.package_name}}/.github/workflows/test_deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
python-version: {% raw %}${{ env.PYTHON_VERSION }}{% endraw %}
2525
dependencies: dev
2626

27+
- name: Run pre-commit hooks
28+
run: pre-commit run --all-files
29+
2730
- name: Run tests
2831
run: pytest
2932

@@ -90,4 +93,4 @@ jobs:
9093

9194
- name: Publish to PyPI
9295
uses: pypa/gh-action-pypi-publish@release/v1
93-
{% endif %}
96+
{% endif %}

0 commit comments

Comments
 (0)