Bump the npm_and_yarn group across 3 directories with 14 updates #390
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
# This workflow will check the python code using black | |
name: Python style check | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'controller/**' | |
- 'policy/**' | |
- '.github/workflows/python.yml' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'controller/**' | |
- 'policy/**' | |
- '.github/workflows/python.yml' | |
jobs: | |
style-check: | |
name: Python style check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install 'black[jupyter]~=23.0' | |
- name: Check style | |
run: | | |
black --check . |