[project] name = "dataset-tg-bot" version = "0.1.0" description = "Add your description here" readme = "README.md" requires-python = ">=3.12" dependencies = [ "python-dotenv>=1.2.1", "python-telegram-bot>=22.6", ] [dependency-groups] dev = [ "ruff>=0.14.14", "ty>=0.0.14", ] [tool.ruff] line-length = 88 target-version = "py312" [tool.ruff.lint] select = ["E", "F", "I", "UP"] [tool.ty.rules] # telegram-bot и UserSession имеют nullable поля которые гарантированно есть в нужных состояниях possibly-missing-attribute = "ignore" invalid-argument-type = "ignore" unsupported-operator = "ignore" invalid-assignment = "ignore" not-subscriptable = "ignore"