Skip to content

Commit

Permalink
Add style check
Browse files Browse the repository at this point in the history
  • Loading branch information
wesselb committed Sep 10, 2023
1 parent f927cd7 commit c577c3a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Code style
on:
- push
- pull_request

jobs:
check:
name: Check style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pre-commit
pre-commit install
- name: Check code style
run: pre-commit run --all-files

0 comments on commit c577c3a

Please sign in to comment.