Skip to content

Commit

Permalink
Add mypy.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
Florimond Manca committed Mar 19, 2020
1 parent e2bd940 commit df803e4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
; See: https://mypy.readthedocs.io/en/stable/config_file.html

[mypy]
; Follows imports and type-check imported modules.
follow_imports = normal

; Ignore errors about imported packages that don't provide type hints.
ignore_missing_imports = true

; Don't require that all functions be annotated, as it would create
; a lot of noise for imported modules that aren't annotated yet.
; Note that this is the default behavior, but we're making our choice explicit here.
disallow_untyped_defs = false

; Include column numbers in errors.
show_column_numbers = true

0 comments on commit df803e4

Please sign in to comment.