Skip to content

Commit

Permalink
Merge pull request #819 from roflcoopter/feature/mypy-ci-types
Browse files Browse the repository at this point in the history
install types before running mypy
  • Loading branch information
roflcoopter authored Oct 14, 2024
2 parents 774d308 + cf6f54e commit 82d37c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ jobs:
uses: ./.github/templates/run_in_venv
with:
command: |
mypy --install-types --non-interactive viseron
pre-commit run --hook-stage manual mypy --all-files --show-diff-on-failure
run-pylint:
Expand Down
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ repos:
language: system
types: [python]
files: ^(viseron)/.+\.py$
args: ["--install-types", "--non-interactive"]
- id: generate_docs
description: Check if docs needs to be regenerated
name: generate_docs
Expand Down

0 comments on commit 82d37c3

Please sign in to comment.