-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (62 loc) · 1.63 KB
/
pyproject.toml
File metadata and controls
70 lines (62 loc) · 1.63 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ojhunt"
version = "0.1.0"
description = "Lightweight tool for querying Online Judge statistics across multiple platforms"
readme = "README.md"
requires-python = ">=3.12"
license = {file = "LICENSE"}
authors = [
{name = "OJHunt Lite Contributors"},
]
keywords = ["competitive programming", "online judge", "codeforces", "atcoder", "cli"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Environment :: Console",
"Topic :: Internet :: WWW/HTTP",
]
dependencies = [
"aiohttp>=3.13.3",
"fastapi[standard]>=0.129.0",
"jinja2>=3.1.6",
"fpdf2>=2.7",
"pypdf>=4.0",
"python-dotenv>=1.2.1",
"rich>=14.3.2",
"selectolax>=0.4.6",
"uvicorn>=0.40.0",
"matplotlib>=3.10.8",
]
[project.scripts]
ojhunt = "ojhunt.__main__:main"
[project.urls]
Homepage = "https://github.com/Liu233w/ojhunt-lite"
Repository = "https://github.com/Liu233w/ojhunt-lite"
[tool.hatch.build.targets.wheel]
packages = ["src/ojhunt"]
[tool.ruff]
exclude = ["archived_crawlers"]
[tool.pytest.ini_options]
python_files = ["*_test.py", "test_*.py"]
testpaths = ["tests", "README.md", "docs/"]
pythonpath = ["src"]
addopts = "--markdown-docs"
markers = [
"network: tests that make real HTTP requests",
"playwright: tests that require a running web server",
]
[tool.uv]
link-mode = "copy"
[dependency-groups]
dev = [
"hatchling>=1.29.0",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-playwright>=0.7.2",
"pytest-timeout>=2.4.0",
"pytest-markdown-docs",
"ruff>=0.15.1",
]