Add linting (ruff) and type checking (mypy) #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
|
||
| run: ruff format --diff | ||
| with: | ||
| python-version: '3.12' | ||