[Snyk] Security upgrade keras from 2.11.0 to 3.11.0 #290
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: formatter | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - "master" | |
| jobs: | |
| format-code: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out the code | |
| uses: actions/checkout@v2 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.11.4 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install black | |
| pip install "black[jupyter]" | |
| - name: Run Black to format code | |
| run: black . --check --diff |