Skip to content

adds pre-commit badge and CI flag #46 #27

adds pre-commit badge and CI flag #46

adds pre-commit badge and CI flag #46 #27

Workflow file for this run

name: pre-commit
on:
pull_request:
push:
branches:
- main
- 46-ci-pre-commit
jobs:
pre-commit:
if: "contains(github.event.head_commit.message, 'CI')"
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Set up python
uses: actions/setup-python@v3
with:
python-version: "3.x"
- name: Install dependencies
run: python -m pip install .[test]
#run: python -m pip install pre-commit pylint black isort codespell #.[test]
- name: Run pre-commit
run: pre-commit run --all-files --color always --verbose