Skip to content

Commit 2115178

Browse files
authored
Disable mypy to install additional stubs (#80)
1 parent 2260819 commit 2115178

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
- name: Mypy
4747
run: |
48-
poetry run mypy --incremental --show-error-codes --pretty src
48+
poetry run mypy --incremental --no-install-types --show-error-codes --pretty src
4949
5050
- name: Tests
5151
run: |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ruff:
2424
format: isort black
2525

2626
mypy:
27-
poetry run mypy --incremental --install-types --show-error-codes --pretty src
27+
poetry run mypy --incremental --no-install-types --show-error-codes --pretty src
2828

2929
pre_commit:
3030
poetry run pre-commit run -a

mypy.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ check_untyped_defs = True
33
disallow_any_generics = True
44
disallow_untyped_defs = True
55
implicit_reexport = False
6-
no_implicit_reexport = True
76
no_implicit_optional = True
7+
no_implicit_reexport = True
8+
show_error_codes = True
89
strict_equality = True
910
strict_optional = True
1011
warn_redundant_casts = True
1112
warn_return_any = True
1213
warn_unreachable = True
1314
warn_unused_ignores = True
14-
show_error_codes = True

0 commit comments

Comments
 (0)