Skip to content

Commit

Permalink
add mypy-config, use propoer cache-dir + fix mypy-issues by using poe…
Browse files Browse the repository at this point in the history
…try-core>=1.0.0, see python-poetry/poetry#2194
  • Loading branch information
Wouter Vanden Hove committed Mar 19, 2023
1 parent d84e36a commit 1c5998b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@

[build-system]
requires = ["poetry-core"]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.mypy]
cache_dir = "var/cache/mypy"
mypy_path = ["src", "tests"]

[tool.poetry]
name = "poetry-relax"
version = "0.0.0"
Expand Down

0 comments on commit 1c5998b

Please sign in to comment.