Skip to content

Commit

Permalink
progress_workflow - added python code style checks
Browse files Browse the repository at this point in the history
  • Loading branch information
OcelotWalrus authored Jan 17, 2024
1 parent 4c30a5d commit 6d4f013
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/python_code_style_checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Python Style Checks

on:
push:
branches:
- master
pull_request:
branches: [ master ]
types:
- synchronize
- opened

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}
cancel-in-progress: false

jobs:
lint:
name: Python Style Checks
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
show-progress: false
- name: Install Python & Pip
uses: actions/setup-python@v5
with:
python-version: '3.12.1'
cache: 'pip'
- name: Install Dependencies
run: pip install pycodestyle
- name: Style Checks
uses: andymckay/pycodestyle-action@0.1.3

0 comments on commit 6d4f013

Please sign in to comment.