-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
pyproject.toml
101 lines (93 loc) · 2.43 KB
/
pyproject.toml
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
[tool.poetry]
name = "jg.coop"
version = "0.0"
description = "The junior.guru website, Discord bot, and synchronization scripts"
authors = ["Honza Javorek <[email protected]>"]
license = "AGPL-3.0-only AND CC-BY-SA-4.0"
readme = "README.md"
homepage = "https://junior.guru/"
repository = "https://github.com/juniorguru/junior.guru/"
packages = [{ include = "jg" }]
[tool.poetry.scripts]
jg = "jg.coop.cli:main"
coop = "jg.coop.cli:main"
[tool.poetry.dependencies]
python = "~3.12"
"jg.beak" = { git = "https://github.com/juniorguru/beak.git" }
"jg.chick" = { git = "https://github.com/juniorguru/chick.git" }
aiohttp = "3.10.10"
apify-client = "1.8.1"
apify-shared = "1.1.2"
beautifulsoup4 = "4.12.3"
click = "8.1.7"
cssselect = "1.2.0"
czech-sort = "1.1.0"
diskcache = "5.6.3"
emoji = "2.14.0"
favicon = "0.7.0"
feedparser = "6.0.11"
fiobank = "3.1.0"
flask = "3.0.3"
fonttools = "4.54.1"
frozen-flask = "1.0.2"
githubkit = "0.11.14"
google-api-python-client = "2.151.0"
gql = {extras = ["requests"], version = "3.5.0"}
gspread = "6.1.4"
httpx = "0.27.2"
ics = {version = "0.8.0.dev0", allow-prereleases = true}
jinja2 = "3.1.4"
lingua-language-detector = "2.0.2"
livereload = "2.7.0"
lxml = "5.3.0"
markdown = "3.7"
markupsafe = "3.0.2"
mkdocs = "1.6.1"
mkdocs-awesome-pages-plugin = "2.9.3"
mkdocs-gen-files = "0.5.0"
oauth2client = "4.1.3"
openai = "1.54.3"
peewee = "3.17.7"
pillow = "11.0.0"
playwright = "1.48.0"
pod2gen = "1.0.3"
py-cord = {version = "2.6.1", extras = ["speed"]}
pycircleci = "0.7.0"
pydantic = "2.9.2"
python-slugify = "8.0.4"
pyyaml = "6.0.2"
requests = "2.32.3"
strictyaml = "1.7.3"
stripe = "11.2.0"
tenacity = "9.0.0"
[tool.poetry.group.dev.dependencies]
ghp-import = "2.1.0"
pync = "2.0.3"
pytest = "8.3.3"
pytest-asyncio = "0.24.0"
pytest-ruff = "0.4.1"
ruff = "0.7.3"
scour = "0.38.2"
sqlite-utils = "3.37"
[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 = "py311"
extend-exclude = ["*_legacy"]
[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 = ["poetry-core>=1.5.0"]
build-backend = "poetry.core.masonry.api"