File: mypy.ini

package info (click to toggle)
python-ifaddr 0.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 196 kB
  • sloc: python: 360; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 494 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[mypy]
# The warn_unused_configs flag may be useful to debug misspelled section names.
warn_unused_configs = True

# Shows a warning when returning a value with type 'Any' from
# a function declared with a non-'Any' return type.
warn_return_any = True

# Disallows defining functions without type annotations
# or with incomplete type annotations.
disallow_untyped_defs = True

[mypy-netifaces.*]
# Suppresses error messages about imports that cannot be resolved.
ignore_missing_imports = True