Skip to content

Commit 627e848

Browse files
committed
Exclude tests from mypy type checking in CI
Updates the release workflow to exclude the 'tests' directory when running mypy type checking, ensuring only the main source code is checked for type errors.
1 parent 6a0caa3 commit 627e848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Run ruff linting
3333
run: ruff check src/track_linearization/ --output-format=github
3434
- name: Run mypy type checking
35-
run: mypy src/track_linearization/
35+
run: mypy src/track_linearization/ --exclude 'tests'
3636

3737
test:
3838
name: Test Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)