[tool.ruff]
target-version = "py311"
include = ["priv/python/**/*.py", "test/**/*.py", "cli/internal/storage/maintenance.py", "pyproject.toml"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]
[tool.ty.environment]
python-version = "3.11"
# The tests use Linux-only calls, such as os.pidfd_open, behind a skip.
python-platform = "linux"
extra-paths = ["priv/python", "test", "test/harness", "test/e2e"]
[tool.ty.src]
include = ["priv/python", "test", "cli/internal/storage/maintenance.py"]
[tool.ty.analysis]
# Optional serializer; the kernel falls back to pickle when it is unavailable.
allowed-unresolved-imports = ["dill"]