Skip to content

Commit

Permalink
add lint.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
linkfrg committed Jul 30, 2024
1 parent 31977c7 commit e1f98e8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on: [push, pull_request]

name: Linter Analysis
jobs:
ruff-check:
name: Ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
- name: Check code style
run:
ruff --version
ruff check ignis/
- name: Check format
continue-on-error: true
run: ruff format ignis/ --check

0 comments on commit e1f98e8

Please sign in to comment.