File: mypy.ini

package info (click to toggle)
pytest-order 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 600 kB
  • sloc: python: 3,483; makefile: 159; sh: 13
file content (19 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[mypy]
; Ensures correct typing information inside non-typed functions
check_untyped_defs = True
; Strict checking for None
no_implicit_optional = True
; Disallow none and partial generics
disallow_any_generics = True
; Point out pointless things
warn_redundant_casts = True
warn_unused_ignores = True
; Misc
show_error_codes = True

; These are needed for VSCode
; Silences errors about missing imports
; (type-checks correctly when they're not missing tho)
ignore_missing_imports = True
; Needed to position the underline correctly
show_column_numbers = True