File: mypy.ini

package info (click to toggle)
python-canmatrix 1.2~github-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,012 kB
  • sloc: xml: 30,201; python: 14,631; makefile: 31; sh: 7
file content (38 lines) | stat: -rw-r--r-- 899 bytes parent folder | download
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,pathlib2]
ignore_missing_imports = True