Implement (almost) all global options #341
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: Lints | |
on: | |
pull_request: | |
push: | |
paths-ignore: | |
- '**.rst' | |
jobs: | |
ruff: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout pygit2 | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- name: Install ruff | |
run: pip install ruff | |
- name: Format code with ruff | |
run: ruff format --diff | |
- name: Check code style with ruff | |
run: ruff check | |
- name: Check typing with mypy | |
run: LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.1 /bin/sh build.sh mypy |