-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpyproject.toml
99 lines (91 loc) · 2.4 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
[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" }
apify-client = "1.8.1"
apify-shared = "1.2.1"
beautifulsoup4 = "4.12.3"
cssselect = "1.2.0"
czech-sort = "1.1.0"
diskcache = "5.6.3"
emoji = "2.14.1"
favicon = "0.7.0"
feedparser = "6.0.11"
fiobank = "4.0.0"
flask = "3.1.0"
fonttools = "4.55.3"
frozen-flask = "1.0.2"
google-api-python-client = "2.159.0"
google-auth = "2.37.0"
gql = {extras = ["requests"], version = "3.5.0"}
gspread = "6.1.4"
httpx = "0.28.1"
ics = {version = "0.8.0.dev0", allow-prereleases = true}
jinja2 = "3.1.5"
lingua-language-detector = "2.0.2"
livereload = "2.7.1"
lxml = "5.3.0"
markdown = "3.7"
markupsafe = "3.0.2"
mkdocs = "1.6.1"
mkdocs-awesome-pages-plugin = "2.10.1"
mkdocs-gen-files = "0.5.0"
openai = "1.59.8"
peewee = "3.17.8"
pillow = "11.1.0"
playwright = "1.49.1"
pod2gen = "1.0.3"
py-cord = {version = "2.6.1", extras = ["speed"]}
pycircleci = "0.7.0"
python-slugify = "8.0.4"
pyyaml = "6.0.2"
requests = "2.32.3"
strictyaml = "1.7.3"
stripe = "11.4.1"
tenacity = "9.0.0"
pydantic = "2.10.5"
githubkit = "0.12.5"
[tool.poetry.group.dev.dependencies]
ghp-import = "2.1.0"
pync = "2.0.3"
pytest = "8.3.4"
pytest-asyncio = "0.25.2"
pytest-ruff = "0.4.1"
ruff = "0.9.2"
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 = "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"