Repository navigation
perf(codecs): cache the optional-argument capability check #2054
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: Lint | |
| on: | |
| push: | |
| branches: | |
| - "**" # every branch | |
| - "!gh-pages" # exclude gh-pages branch | |
| - "!stage*" # exclude branches beginning with stage | |
| pull_request: | |
| branches: | |
| - "**" # every branch | |
| - "!gh-pages" # exclude gh-pages branch | |
| - "!stage*" # exclude branches beginning with stage | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| # enforce the same check as pre-commit | |
| # but only run important checks | |
| - uses: pre-commit/action@v3.0.1 | |
| with: | |
| extra_args: codespell --all-files | |
| - uses: pre-commit/action@v3.0.1 | |
| with: | |
| extra_args: ruff --all-files | |
| - uses: pre-commit/action@v3.0.1 | |
| with: | |
| extra_args: ruff-format --all-files |