Skip to content

Alpha/task19 - Done Razponza Integration #18

Alpha/task19 - Done Razponza Integration

Alpha/task19 - Done Razponza Integration #18

Workflow file for this run

name: Linter
on:
pull_request:
workflow_dispatch:
jobs:
linter:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Check code formatting with RUFF
run: |
ruff format app --check
ruff format maintenance --check
ruff format test --check
- name: Check code with RUFF
run: |
ruff check app --output-format=github
ruff check maintenance --output-format=github
ruff check test --output-format=github
- name: Check code with MYPY
run: |
mypy app maintenance test