PYRE_FIXME in bulk_saver.py #999
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: lint | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| ufmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install ufmt | |
| run: pip install 'ufmt>=2.9.0' 'black==25.11.0' 'ruff-api>=0.1.0' | |
| - name: Add configuration for ufmt | |
| run: echo -e '[tool.ufmt]\nformatter = "ruff-api"\nsorter = "ruff-api"' > pyproject.toml | |
| - name: Run ufmt | |
| run: ufmt diff sapp scripts | |
| flake8: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install flake8 | |
| run: pip install flake8==6.1.0 | |
| - name: Run flake8 | |
| run: flake8 | |
| ESLint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install packages and run ESLint | |
| run: | | |
| cd sapp/ui/frontend | |
| npm install | |
| npm run lint |