Skip to content

Add linting (ruff) and type checking (mypy) #1

Add linting (ruff) and type checking (mypy)

Add linting (ruff) and type checking (mypy) #1

Workflow file for this run

name: Felt Python Linting And Formatting
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: astral-sh/ruff-action@v3
run: ruff check --fix

Check failure on line 15 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / Felt Python Linting And Formatting

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 15, Col: 7): Unexpected value 'run' .github/workflows/lint.yml (Line: 16, Col: 7): 'run' is already defined
run: ruff format --diff
with:
python-version: '3.12'