Skip to content

Commit

Permalink
feat(ci): lint with flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
t3tra-dev committed Feb 19, 2025
1 parent 47bdc9d commit 39090bc
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Lint

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

workflow_dispatch:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"

- name: Install Dependencies
run: |
sudo apt-get update
sudo curl -LsSf https://astral.sh/uv/install.sh | sh
uv add flake8
- name: Run Linter
run: flake8 . --ignore=E501

0 comments on commit 39090bc

Please sign in to comment.