Alpha/task13 - Done Integration with Frontend #13
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |