From b1c632907ff5af227ae0a45b56a6fc8e5d184377 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Fri, 30 Jan 2026 20:13:50 +0000 Subject: [PATCH] fix: use python -m to invoke ruff and mypy in CI --- .gitea/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index bd14a84..d99f7d4 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -29,12 +29,12 @@ jobs: - name: Run type checking run: | pip install mypy - mypy src/codexchange/ --ignore-missing-imports + python -m mypy src/codexchange/ --ignore-missing-imports - name: Run linting run: | pip install ruff - ruff check src/codexchange/ tests/ + python -m ruff check src/codexchange/ tests/ lint: runs-on: ubuntu-latest @@ -50,7 +50,7 @@ jobs: run: pip install ruff - name: Run linter - run: ruff check src/codexchange/ tests/ + run: python -m ruff check src/codexchange/ tests/ typecheck: runs-on: ubuntu-latest @@ -66,4 +66,4 @@ jobs: run: pip install mypy - name: Run type checker - run: mypy src/codexchange/ --ignore-missing-imports + run: python -m mypy src/codexchange/ --ignore-missing-imports