Skip to content

Commit

Permalink
Add linting github action
Browse files Browse the repository at this point in the history
  • Loading branch information
dherrera1911 committed Dec 11, 2024
1 parent 8d96e94 commit 2254700
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Lint Code

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run ruff
run: ruff check .

0 comments on commit 2254700

Please sign in to comment.