Merge pull request #106 from SFI-Visual-Intelligence/hzavadil98-patch-1 #356
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: Format | |
| on: | |
| push: | |
| paths: | |
| - 'CollaborativeCoding/**' | |
| pull_request: | |
| paths: | |
| - 'CollaborativeCoding/**' | |
| jobs: | |
| format: | |
| name: Run Ruff and isort | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.x' | |
| - name: Install dependencies | |
| run: | | |
| pip install ruff isort | |
| - name: Run Ruff check | |
| run: | | |
| ruff check CollaborativeCoding/ | |
| - name: Run isort check | |
| run: | | |
| isort --check-only CollaborativeCoding/ |