Skip to content

fixed: sql injection risk fixes in db, ruff config to ignore non-crit… #2

fixed: sql injection risk fixes in db, ruff config to ignore non-crit…

fixed: sql injection risk fixes in db, ruff config to ignore non-crit… #2

Workflow file for this run

name: Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11" # Use latest stable Python for linting
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black ruff
- name: Check code formatting with Black
run: black --check .
- name: Lint with Ruff
run: ruff check .