Skip to content

Commit 7532fcb

Browse files
authored
👷 Run mypy in pre-commit instead of Lint step in test.yml workflow (#1511)
1 parent 5ec9f2a commit 7532fcb

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

‎.github/workflows/test.yml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ jobs:
5555
uv.lock
5656
- name: Install Dependencies
5757
run: uv sync --locked --no-dev --group tests
58-
- name: Lint
59-
if: matrix.python-version != '3.9'
60-
run: uv run bash scripts/lint.sh
6158
- run: mkdir coverage
6259
- run: uv run bash scripts/test-files.sh
6360
- name: Test

‎.pre-commit-config.yaml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,10 @@ repos:
2727
require_serial: true
2828
language: unsupported
2929
types: [python]
30+
31+
- id: local-mypy
32+
name: mypy check
33+
entry: uv run mypy typer
34+
require_serial: true
35+
language: unsupported
36+
pass_filenames: false

0 commit comments

Comments
 (0)