Skip to content

Commit

Permalink
lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amadejkastelic committed Oct 16, 2024
1 parent ef5728a commit f870def
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Lint

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
lint:
Expand All @@ -12,8 +16,8 @@ jobs:
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: flake8 Lint
python-version: "3.12.6"
- name: flake8
uses: py-actions/flake8@v2
- name: black formatting
uses: psf/black@stable
uses: psf/black@stable

0 comments on commit f870def

Please sign in to comment.