Name BATTLE_STATE_9 as BATTLE_STATE_END_TEAM_TURN with meaningful substates #335
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 Formatting & Linting | |
| on: | |
| pull_request: | |
| jobs: | |
| py_format: | |
| name: black formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python 3.8 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.8 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install black | |
| - name: Run black | |
| run: | | |
| black . --check |