Skip to content

Merge branch 'main' into servo-controllers #85

Merge branch 'main' into servo-controllers

Merge branch 'main' into servo-controllers #85

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 .