core are the the foundational generic interfaces upon which all else is built. This module must not depend on any other module.application are implementations of core components that are used to compose an application.components are the building blocks for creating agents.TL;DR, run all checks with:
hatch run check
To get a shell with the package available (virtual environment),
in the current directory,
run:
hatch shell
hatch run checkhatch run linthatch run pytest -n autohatch run mypyhatch run pyrighthatch run docs:buildhatch run docs:serve[!NOTE]
These don't need to be run in a virtual environment,hatchwill automatically manage it for you.
To enable the hatch virtual environment in IntelliJ, follow these steps:
Under the [tool.hatch.envs.default] heading in pyproject.toml, add this:
[tool.hatch.envs.default]
type = "virtual"
path = ".venv"
Run hatch shell in the terminal to create the virtual environment.
Then, in IntelliJ, go to File -> Project Structure -> Project Settings -> Project -> Project SDK and select the Python interpreter in the .venv directory.
Once complete, your IDE should be able to resolve, run, and debug code.