Skip to content

Video streaming (#11) #69

Video streaming (#11)

Video streaming (#11) #69

Workflow file for this run

name: Lint and Format Check
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
lint-and-format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
# Python Formatting and Linting
- name: Install Python dependencies
run: |
pip install black pylint
- name: Run Pylint
run: |
pylint $(find . -name "*.py") --exit-zero
env:
PYLINT_SCORE_THRESHOLD: 10.0 # You can implement stricter checks here
- name: Run Black
run: black --check .
- name: Run Prettier
run: npx prettier --check "**/*.{js,ts}"
- name: Run ESLint
run: npx eslint "**/*.{js,ts}"