Skip to content

Commit

Permalink
ci: re-enable mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
uael committed Sep 29, 2023
1 parent f47cd8b commit 412c8f7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/avatar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install
run: pip install .[dev]
- run: mypy
- run: pyright
format:
name: Check Python formatting
Expand Down
22 changes: 22 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ dev = [
"rootcanal==1.3.0",
"grpcio-tools>=1.57",
"pyright==1.1.298",
"mypy==1.5.1",
"black==23.7.0",
"isort==5.12.0",
"types-psutil==5.9.5.16",
Expand Down Expand Up @@ -65,6 +66,27 @@ reportUnknownLambdaType = false
reportImportCycles = false
reportPrivateUsage = false

[tool.mypy]
strict = true
warn_unused_ignores = false
files = ["avatar", "cases"]

[[tool.mypy.overrides]]
module = "grpc.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "google.protobuf.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "mobly.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "portpicker.*"
ignore_missing_imports = true

[tool.pytype]
inputs = ['avatar', 'cases']

Expand Down

0 comments on commit 412c8f7

Please sign in to comment.