Skip to content

Commit

Permalink
Configure hatch to use virtualenv (#18)
Browse files Browse the repository at this point in the history
Make hatch create a virtualenv under the venv directory. This makes
PyCharm recognise it and load the correct interpreter.
  • Loading branch information
franciscoatmatter committed Jan 24, 2024
1 parent b41b942 commit 453b38c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Source = "https://github.com/Matter-Tech/matter-observability"
path = "matter_observability/__about__.py"

[tool.hatch.envs.default]
type = "virtual"
path= "venv"
dependencies = [
"matter-observability",
"fastapi",
Expand Down

0 comments on commit 453b38c

Please sign in to comment.