Improve exception handling for parsing arguments. #162
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: Code style | |
| on: | |
| push: | |
| branches: | |
| - '**' # Match pushes to any branch (even feat/feature) | |
| pull_request: | |
| branches: | |
| - '**' # Match PRs targeting any branch (even feat/feature) | |
| jobs: | |
| code-style: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out the repo | |
| uses: actions/checkout@v4 | |
| - name: Check formatting | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| args: format --check --config .ruff.toml | |
| - name: Check coding style | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| args: check --output-format=github . --config .ruff.toml |