Merge pull request #43 from drunkenbot-ai/develop #26
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 quality | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install quality tools | |
| run: python -m pip install -r requirements-dev.txt | |
| - name: Check formatting and lint | |
| run: ruff check interface run_app.py tools tests --select E,F --ignore E501,F403,F405 | |
| - name: Compile interface modules | |
| run: python -m compileall -q interface run_app.py | |
| - name: Check Python file sizes | |
| run: python tools/check_code_standards.py | |
| - name: Check package dependency boundaries | |
| run: python tools/check_dependency_boundaries.py |