[tool.poetry]
name = "streamlit-sme-merch-app"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
readme = "README.md"

[tool.poetry.dependencies]
python = ">=3.10,<3.12"
streamlit = "1.39.0"
ruff = "^0.11.0"
mypy = "^1.15.0"
snowflake = "^1.1.0"
cryptography = "^44.0.2"
pandas-stubs = "^2.2.3.250308"
mlxtend = "^0.23.4"
path = "16.10.0"
snowflake-snowpark-python = "1.28.0"


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

[tool.ruff]
line-length = 100
target-version = "py311"
include = [
    "streamlit_app/common/*.py",
    "streamlit_app/pages/*.py",
]

[tool.ruff.lint.isort]
combine-as-imports = true
forced-separate = ["streamlit_app/common"]

[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.mypy]
python_version = "3.11"
strict = true
pretty = true
color_output = true
show_error_codes = true
plugins = ["pydantic.mypy"]
files = [
    "streamlit_app/common/*.py",
    "streamlit_app/pages/*.py",
]

ignore_missing_imports = true