Skip to content

fixed it so we can just add time slots for each day then it will fill… #94

fixed it so we can just add time slots for each day then it will fill…

fixed it so we can just add time slots for each day then it will fill… #94

name: Python formatter and linter
on: [push]
jobs:
python-linting-formatting:
runs-on: ubuntu-latest # Run the runner on a ubuntu image
strategy:
max-parallel: 5
steps:
- uses: actions/checkout@v3 # Checkout the repo to the runner
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Install and run formatter and linter
# 1. Configures python path and creates virtual environment
# 2. Installs linter and formatter
# 3. Lints and format checks each python component
run: |
export PYTHONPATH=$GITHUB_PATH
python -m venv venv
source ./venv/bin/activate
pip install --upgrade pip
pip install blue
pip install pylint
blue --diff --exclude '' ./db-handler
blue --diff --exclude '' ./figurines
blue --diff --exclude '' ./vision
pylint camera --exit-zero
pylint db-handler/app --exit-zero
pylint figurines --exit-zero
pylint vision --exit-zero