From f5d55d292024ab273354bdbe0bcfcc18ba63bc5c Mon Sep 17 00:00:00 2001 From: RFCreate <107062289+RFCreate@users.noreply.github.com> Date: Wed, 3 Dec 2025 07:49:40 -0600 Subject: [PATCH 1/3] ci: install in editable mode for faster performance --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0db4c4c0..c83b3b0f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -208,7 +208,7 @@ jobs: python-version: ${{ env.python-version }} - name: Install Python dependencies run: | - pip install . + pip install -e . - name: Run pre-commit test uses: pre-commit/action@v3.0.1 packaging-test: @@ -240,7 +240,7 @@ jobs: python-version: ${{ env.python-version }} - name: Install Python dependencies run: | - pip install .[packaging] + pip install -e .[packaging] - name: Run packaging test run: | check-manifest From 471f94ba097305187b530654a6b108a3817b26e0 Mon Sep 17 00:00:00 2001 From: RFCreate <107062289+RFCreate@users.noreply.github.com> Date: Wed, 3 Dec 2025 07:49:48 -0600 Subject: [PATCH 2/3] fix(mypy): remove default args in pre-commit, i.e ignore-missing-imports --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c296354e..e350c8b4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,4 +9,5 @@ repos: rev: v1.18.2 hooks: - id: mypy + args: [] files: "^(wlroots|tiny)\/.*" From 243e6d6920c20fae2d20fc1e42781e3ea1209292 Mon Sep 17 00:00:00 2001 From: RFCreate <107062289+RFCreate@users.noreply.github.com> Date: Wed, 3 Dec 2025 07:51:13 -0600 Subject: [PATCH 3/3] fix(mypy): add pywayland as a dependecy for type-checking --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e350c8b4..b50ce2a1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,3 +11,4 @@ repos: - id: mypy args: [] files: "^(wlroots|tiny)\/.*" + additional_dependencies: [pywayland]