Skip to content

[cli] More work on region editor and docs. #125

[cli] More work on region editor and docs.

[cli] More work on region editor and docs. #125

# 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/