Skip to content

Commit

Permalink
Move mypy config to pyproject.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
  • Loading branch information
mattt committed Jun 5, 2023
1 parent 99bf052 commit dbd6281
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mypy.ini

This file was deleted.

5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@ dynamic = ["version"]
[tool.setuptools_scm]
write_to = "python/cog/_version.py"

[tool.mypy]
disallow_untyped_defs = true
# TODO: remove this and bring the codebase inline with the current mypy default
no_implicit_optional = false

[tool.setuptools]
package-dir = { "" = "python" }

0 comments on commit dbd6281

Please sign in to comment.