Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]

jobs:
lint-and-typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install uv
run: pip install uv

- name: Sync dependencies
run: uv sync

- name: Ruff (lint)
run: uv run ruff check

- name: Type check (ty)
run: uv run ty check
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ import requests
3. Ensure all checks pass locally before opening a Pull Request:

- `uv run ruff check --fix . && uv run ruff format .`
- (see [pyproject.toml](pyproject.toml) for ruff criteria)
- `uv run ty check`
- `uv run pytest`

Expand Down
2 changes: 2 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
RUN_INTERVAL_MINUTES: int = 5
# Set to True to run the browser in headless mode (no visible UI).
HEADLESS_MODE: bool = True
# Set to True to enable verbose, high-resolution debug logging for troubleshooting.
ENABLE_DEBUG_LOGGING: bool = True

# --- Gateway Configuration ---
# The base URL for your AT&T gateway.
Expand Down
Loading