-
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (97 loc) · 2.6 KB
/
pyproject.toml
File metadata and controls
106 lines (97 loc) · 2.6 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
96
97
98
99
100
101
102
103
104
105
106
[project]
name = "jg.coop"
version = "0.0"
description = "The junior.guru website, Discord bot, and synchronization scripts"
readme = "README.md"
authors = [{name = "Honza Javorek", email = "honza@junior.guru"}]
license = "AGPL-3.0-only AND CC-BY-SA-4.0"
requires-python = ">=3.13,<3.14"
dependencies = [
"jg.beak@git+https://github.com/juniorguru/beak.git",
"jg.chick@git+https://github.com/juniorguru/chick.git",
"apify-client>=2.1.0",
"apify-shared>=2.1.0",
"beautifulsoup4>=4.14.2",
"click>=8.3.0",
"cssselect>=1.3.0",
"czech-sort>=1.1.0",
"diskcache>=5.6.3",
"emoji>=2.15.0",
"favicon>=0.7.0",
"feedparser>=6.0.12",
"fiobank>=4.0.0",
"fonttools>=4.60.1",
"githubkit>=0.13.3",
"google-api-python-client>=2.184.0",
"google-auth>=2.41.1",
"gql[requests]>=4.0.0",
"gspread>=6.2.1",
"httpx>=0.28.1",
"ics>=0.8.0.dev0",
"jinja2>=3.1.6",
"lingua-language-detector>=2.1.1",
"livereload>=2.7.1",
"lxml>=6.0.2",
"markdown>=3.9",
"markupsafe>=3.0.3",
"mkdocs>=1.6.1",
"mkdocs-awesome-nav>=3.2.0",
"mkdocs-gen-files>=0.5.0",
"openai>=2.1.0",
"peewee>=3.18.2",
"pillow>=11.3.0",
"playwright>=1.55.0",
"pod2gen>=1.0.3",
"py-cord[speed]@git+https://github.com/Pycord-Development/pycord.git",
"pycircleci>=0.7.0",
"python-slugify>=8.0.4",
"pyyaml>=6.0.3",
"requests>=2.32.5",
"strictyaml>=1.7.3",
"stripe>=13.0.1",
"tenacity>=9.1.2",
"tiktoken>=0.11.0",
"pydantic>=2.11.10",
"mastodon-py>=2.1.4",
]
[project.urls]
homepage = "https://junior.guru/"
repository = "https://github.com/juniorguru/junior.guru"
funding = "https://junior.guru/love/"
[project.scripts]
jg = "jg.coop.cli:main"
coop = "jg.coop.cli:main"
[dependency-groups]
dev = [
"ghp-import>=2.1.0",
"pync>=2.0.3",
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
"pytest-ruff>=0.5",
"ruff>=0.13.3",
"scour>=0.38.2",
"sqlite-utils>=3.38",
]
[tool.pytest.ini_options]
python_files = "test_*.py"
testpaths = "tests"
norecursedirs = "node_modules"
addopts = "--ff --ruff --ruff-format"
filterwarnings = [
"ignore:'audioop' is deprecated:DeprecationWarning", # py-cord
]
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
target-version = "py313"
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.isort]
combine-as-imports = true
lines-after-imports = 2
known-third-party = ["jg.chick", "jg.hen", "jg.beak"]
known-local-folder = ["testing_utils"]
[build-system]
requires = ["uv_build>=0.8.11,<0.12.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "jg.coop"