diff --git a/.github/lint.yaml b/.github/lint.yaml new file mode 100644 index 00000000..992d221a --- /dev/null +++ b/.github/lint.yaml @@ -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 \ No newline at end of file