-
Notifications
You must be signed in to change notification settings - Fork 1
/
mypy.ini
62 lines (43 loc) · 1.33 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
[mypy]
disallow_untyped_calls = True
disallow_incomplete_defs = true
follow_imports = skip
check_untyped_defs = True
packages = ptmd
exclude = (?x)(ptmd/database/queries/search.py | ptmd/migrations)
# MISSING STUBS
[mypy-dotenv]
ignore_missing_imports = True
[mypy-pydrive2.drive]
ignore_missing_imports = True
[mypy-pydrive2.auth]
ignore_missing_imports = True
[mypy-xlsxwriter.workbook]
ignore_missing_imports = True
[mypy-pandas.io.formats.excel]
ignore_missing_imports = True
[mypy-flask_jwt_extended]
ignore_missing_imports = True
[mypy-flask_jwt_extended.exceptions]
ignore_missing_imports = True
[mypy-flasgger]
ignore_missing_imports = True
[mypy-isatools.model]
ignore_missing_imports = True
# INCOMPLETE PANDAS STUBS
[mypy-ptmd.lib.excel.*]
disable_error_code = attr-defined
[mypy-ptmd.boot.file_parsers.parse_chemicals]
disable_error_code = attr-defined
[mypy-ptmd.lib.data_extractor.core]
disable_error_code = attr-defined, operator
[mypy-ptmd.lib.excel.save]
disable_error_code = operator
[mypy-ptmd.lib.creator.dataframes]
disable_error_code = call-arg
[mypy-ptmd.lib.validator.core]
disable_error_code = arg-type, attr-defined, call-arg
[mypy-ptmd.api.queries.samples.core]
disable_error_code = attr-defined
[mypy-ptmd.lib.updater.batch]
disable_error_code = attr-defined