Skip to content

fix(api): increase HISTORY_LIMIT to 1440 for full 24h modal view #57

fix(api): increase HISTORY_LIMIT to 1440 for full 24h modal view

fix(api): increase HISTORY_LIMIT to 1440 for full 24h modal view #57

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@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Cache pip dependencies
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-lint-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-lint-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Run ruff
run: ruff check webstatuspi tests
- name: Run mypy
run: mypy webstatuspi --ignore-missing-imports