Bump black from 22.6.0 to 24.3.0 #203
This file contains 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 Check | |
on: | |
pull_request: | |
types: [opened, synchronize, edited, reopened] | |
branches: [main, release/*] | |
concurrency: | |
group: python-check-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
python-code-check: | |
name: Check Python Code Formatting And Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set Up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- run: pip install -r requirements.txt | |
- run: "black . --check --diff --verbose" | |
- run: pylint *.py | |
- run: pylint test | |
- run: pylint tfdml |