forked from ebroecker/canmatrix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy.ini
38 lines (30 loc) · 918 Bytes
/
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
# usage:
# pythom -m pip intall mypy
# python -m mypy ./src/canmatrix --config-file ./mypy.ini
#
# or configure "external tool" in pycharm:
# program: $ModuleSdkPath$
# arguments: -m mypy $FilePath$ --config-file $ProjectFileDir$\mypy.ini
# working directory: C:\tmp (whatever outside the project to force mypy write absolute paths)
# with "output filter": $FILE_PATH$:$LINE$:
[mypy]
mypy_path = stubs
show_column_numbers = True
warn_unused_configs = True
warn_unused_ignores = True
check_untyped_defs = True
# allow_redefinition = True
# we want to delete this row later:
strict_optional = False
# for even later:
# warn_return_any = True
# per module settings:
[mypy-canmatrix.tests.*]
# check_untyped_defs = False
ignore_missing_imports = True
ignore_errors = True
[mypy-canmatrix._version]
ignore_errors = True
# other settings:
[mypy-xlsxwriter,past,past.builtins,pathlib2]
ignore_missing_imports = True