Skip to content

Commit

Permalink
Configure mypy.ini to be more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbundy committed Jun 23, 2023
1 parent fc4e976 commit 8894f9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ disallow_untyped_defs = true
disallow_incomplete_defs = true
show_error_codes = false
disable_error_code = empty-body
force_uppercase_builtins = true
force_union_syntax = true


plugins =
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def find_stub_files(name: str) -> List[str]:
]

extras_require = {
"compatible-mypy": ["mypy>=1.3.0,<1.5"],
"compatible-mypy": ["mypy>=1.4.0,<1.4"],
}

setup(
Expand Down

0 comments on commit 8894f9a

Please sign in to comment.