cleaner delay calculation #418
This file contains 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: Linting | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: "0 3 1 * *" | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ${{ matrix.image }} | |
strategy: | |
matrix: | |
os: | |
- Ubuntu | |
python-version: | |
- "3.12" | |
- "3.13" | |
include: | |
- os: Ubuntu | |
image: Ubuntu-22.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up python {{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
allow-prereleases: true | |
- name: Install uv | |
run: curl -LsSf https://astral.sh/uv/install.sh | sh | |
- name: Check lockfile | |
run: uv lock --locked --offline | |
- name: Install project | |
run: uv sync -p ${{ matrix.python-version }} --extra azure | |
- name: ruff | |
run: uv run ruff check . | |
- name: ruff format | |
run: uv run ruff format --check . | |
- name: mypy | |
run: uv run mypy . |