Skip to content

Commit a4a8efe

Browse files
committed
Make mypy check all files by default and stop ignore pytest types
1 parent 8520850 commit a4a8efe

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ repos:
5454
hooks:
5555
- id: mypy
5656
# empty args needed in order to match mypy cli behavior
57-
args: [] # [--strict]
5857
additional_dependencies:
5958
- types-paramiko
6059
- types-setuptools

mypy.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
[mypy]
2+
files = .
23
# XXX: goal is to turn it on
34
strict = False
45
check_untyped_defs = True
56
show_error_codes = True
67

7-
[mypy-pytest.*]
8-
ignore_missing_imports = True
9-
108
[mypy-salt.*]
119
ignore_missing_imports = True
1210

0 commit comments

Comments
 (0)