Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,3 @@ jobs:
uses: pre-commit/action@v2.0.3
with:
extra_args: --all-files

- name: Type check with mypy
run: |
mypy src
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,13 @@ repos:
additional_dependencies:
- flake8-tidy-imports
- flake8-quotes
- repo: local
hooks:
- id: mypy
name: mypy
entry: mypy
language: system
types: [python]
require_serial: true
verbose: true
pass_filenames: false
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ firebolt = py.typed
plugins = pydantic.mypy
disallow_untyped_defs = True
show_error_codes = True
files = src/

[pydantic-mypy]
warn_required_dynamic_aliases = True
Expand Down