olot/pyproject.toml

60 lines
1.1 KiB
TOML

[tool.poetry]
name = "olot"
version = "0.1.7"
description = "oci layers on top"
authors = ["tarilabs <matteo.mortari@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
click = "^8.1.7"
pydantic = "^2.10.3"
[tool.poetry.scripts]
olot = "olot.cli:cli"
[tool.poetry.group.test.dependencies]
pytest = "^8.3.4"
[tool.pytest.ini_options]
markers = [
"e2e_skopeo: end-to-end testing with skopeo",
"e2e_oras: end-to-end testing with oras",
]
[tool.poetry.group.dev.dependencies]
# was used to build the domain model from OCI (json schema) spec: datamodel-code-generator = ">=0.26.3,<0.29.0"
ruff = ">=0.6.1,<0.12.0"
mypy = "^1.11.1"
docker = "^7.1.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py39"
respect-gitignore = true
[tool.ruff.lint.per-file-ignores]
"*.ipynb" = [
"E402",
] # exclude https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file/#notebook-behavior from linting, especially for demos.
[tool.mypy]
python_version = "3.9"
strict = false
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true