feature: update system design and introduce easy to use decorator (#7) #24
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: Python Code Style & Linting | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [ 'main' ] | |
| paths: | |
| - 'python/**' | |
| pull_request: | |
| branches: [ '*' ] | |
| paths: | |
| - 'python/**' | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./python | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Ruff | |
| uses: astral-sh/ruff-action@v3 | |
| - name: Ruff Format | |
| run: ruff format --check --config ./pyproject.toml . | |
| - name: Ruff Lint | |
| run: ruff check --config ./pyproject.toml . |