Skip to content

halleluja

halleluja #63

Workflow file for this run

name: Code formatting
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
cache: 'pip'
cache-dependency-path: requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install ruff
pip list
pip install mypy
- name: Ruff check
run: ruff check .
- name: Ruff format
run: ruff format .
- name: Run mypy type checks
run: |
mypy src/my_project/model_solution.py