[cli] More work on region editor and docs. #125
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
# Use YAPF to format DVR-Scan. | |
name: Check Code Format | |
on: | |
pull_request: | |
paths: | |
- dvr_scan/** | |
- tests/** | |
push: | |
paths: | |
- dvr_scan/** | |
- tests/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.x' | |
- name: Update pip | |
run: python -m pip install --upgrade pip | |
- name: Install yapf | |
run: python -m pip install --upgrade yapf toml | |
- name: Install DVR-Scan Dependencies | |
run: python -m pip install -r requirements_headless.txt | |
- name: Check Code Format (dvr_scan) | |
run: python -m yapf --diff --recursive dvr_scan/ | |
- name: Check Code Format (tests) | |
run: python -m yapf --diff --recursive tests/ |