Skip to content

chore(deps): Bump pydantic-settings from 2.12.0 to 2.13.1 #70

chore(deps): Bump pydantic-settings from 2.12.0 to 2.13.1

chore(deps): Bump pydantic-settings from 2.12.0 to 2.13.1 #70

Workflow file for this run

name: Lint and Format
on:
pull_request:
branches: [main, dev]
jobs:
python-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-asyncio pytest-cov pytest-mock bandit
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 src/ --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. Default is 79 chars, matching strict flake8.
flake8 src/ --count --exit-zero --max-complexity=10 --statistics
- name: Check formatting with Black
run: |
# This will fail if code is not formatted. Run 'black src/' locally to fix.
black src/ --check
- name: Type checking with mypy
run: |
mypy src/
- name: Security scan with Bandit
run: |
bandit -r src/ -s B104,B108 --severity-level high
- name: Run Unit Tests
run: |
pytest tests/unit/