-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (83 loc) · 2.09 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (83 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[project]
name = "clitg"
version = "0.3.2"
description = "Agent-first Telegram CLI with structured JSON and skills for Claude Code, Codex, Copilot, Cursor, and more"
readme = "readme.md"
authors = [
{ name = "Leynier Gutiérrez González", email = "leynier41@gmail.com" }
]
requires-python = ">=3.14,<3.15"
license = "MIT"
license-files = ["LICENSE"]
keywords = [
"telegram",
"telegram-cli",
"ai-agents",
"agent-skills",
"claude-code",
"codex",
"antigravity",
"github-copilot",
"grok",
"cursor",
"amp",
"mtproto",
"telethon",
"typer",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Programming Language :: Python :: 3.14",
"Topic :: Communications :: Chat",
]
dependencies = [
"filelock>=3.31.1,<4.0.0",
"keyring>=25,<26",
"platformdirs>=4.10.1,<5.0.0",
"pydantic>=2.13.4,<3.0.0",
"qrcode[pil]>=8,<9",
"telethon>=1.44.0,<2.0.0",
"typer>=0.27.0,<0.28.0",
]
[dependency-groups]
dev = [
"pytest>=9.1.1,<10.0.0",
"pytest-asyncio>=1.4.0,<2.0.0",
"pytest-cov>=7.1.0,<8.0.0",
"pyyaml>=6.0.3,<7.0.0",
"ruff>=0.15.22,<0.17.0",
"ty>=0.0.61,<0.0.66",
]
[project.scripts]
clitg = "clitg.cli:main"
[project.urls]
Homepage = "https://github.com/leynier/telegram-cli"
Repository = "https://github.com/leynier/telegram-cli"
Issues = "https://github.com/leynier/telegram-cli/issues"
[build-system]
requires = ["uv_build>=0.11.30,<0.12.0"]
build-backend = "uv_build"
[tool.ruff]
target-version = "py314"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
ignore = ["COM812"]
[tool.ruff.lint.per-file-ignores]
"src/clitg/cli.py" = ["B008"]
"tests/**" = ["ARG", "PLR2004", "S101"]
[tool.ty.environment]
python-version = "3.14"
[tool.pytest.ini_options]
addopts = "--strict-config --strict-markers"
asyncio_mode = "auto"
markers = ["telegram_test_dc: requires explicit Telegram test DC credentials"]
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["clitg"]
[tool.coverage.report]
fail_under = 100
show_missing = true
skip_covered = false