[tool.poetry]
name = "streamlit-fansifter-fileupload-app"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
readme = "README.md"
package-mode = false

[tool.poetry.dependencies]
python = ">=3.10,<3.12"
streamlit = "1.39.0"
pytz = "^2024.2"
tzlocal = "2.1"
snowflake = "^1.0.2"
snowflake-snowpark-python = "^1.26.0"
ruff = "^0.9.3"
mypy = "^1.14.1"
pandas-stubs = "^2.2.3.241126"
types-tzlocal = "^5.1.0.1"
pycountry = "^24.6.1"


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

[tool.ruff]
line-length = 88
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",
]