Skip to content

Commit

Permalink
Update mypy.ini
Browse files Browse the repository at this point in the history
Co-authored-by: Yoshiaki Bando <[email protected]>
  • Loading branch information
aramoto99 and yoshipon authored Mar 27, 2024
1 parent 5f631ec commit d85679e
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
[mypy]
python_version = 3.10
cache_dir = .mypy_cache

plugins = numpy.typing.mypy_plugin

allow_redefinition = True
warn_unused_configs = True
warn_redundant_casts = True
show_error_codes = True
show_column_numbers = True
check_untyped_defs = True
follow_imports = silent
disallow_untyped_calls = True
disallow_untyped_defs = True
follow_imports = skip
local_partial_types = True
enable_error_code = possibly-undefined
warn_unused_ignores = False

strict_optional = True
strict_equality = True
disallow_subclassing_any = True
warn_unreachable = True
no_implicit_optional = True
disallow_incomplete_defs = True
strict_concatenate = True
python_version = 3.10
plugins = numpy.typing.mypy_plugin
warn_no_return = True
disallow_any_unimported = True
strict = True
implicit_reexport = False

0 comments on commit d85679e

Please sign in to comment.