-
Notifications
You must be signed in to change notification settings - Fork 108
/
.mypy.ini
83 lines (66 loc) · 1.84 KB
/
.mypy.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[mypy]
plugins = pydantic.mypy
warn_unused_configs = True
disallow_any_generics = True
disallow_subclassing_any = true
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
warn_unused_ignores = True
warn_redundant_casts = True
strict_equality = True
extra_checks = True
exclude = (?x)(
src/ert/resources/forward_models/res/script/ecl.*py
| src/ert/resources/.*/flow.py
)
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-netCDF4.*]
ignore_missing_imports = True
[mypy-pandas.*]
ignore_missing_imports = True
[mypy-xtgeo.*]
ignore_missing_imports = True
[mypy-mpl_toolkits.*]
ignore_missing_imports = True
[mypy-resfo.*]
ignore_missing_imports = True
[mypy-iterative_ensemble_smoother.*]
ignore_missing_imports = True
[mypy-seaborn.*]
ignore_missing_imports = True
[mypy-opm.*]
ignore_missing_imports = True
[mypy-colorama.*]
ignore_missing_imports = True
[mypy-yaml.*]
ignore_missing_imports = True
[mypy-ruamel.*]
ignore_missing_imports = True
[mypy-resdata.*]
ignore_missing_imports = True
disable_error_code = import-untyped
[mypy-everest.*]
disable_error_code = dict-item,
no-untyped-def,
call-overload,
union-attr,
no-untyped-call,
var-annotated,
index,
call-arg,
unused-ignore,
arg-type,
type-arg,
type-var,
assignment,
typeddict-item,
attr-defined,
comparison-overlap,
return-value,
name-defined
[mypy-tests.*]
disable_error_code = no-untyped-def, no-untyped-call, typeddict-item, assignment