-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy pathpyproject.toml
63 lines (53 loc) · 1.3 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
[project]
urls = { Repository = "https://github.com/lumina37/rotate-captcha-crack" }
name = "rotate-captcha-crack"
readme = "README.md"
requires-python = ">=3.9,<3.13"
authors = [{ name = "lumina37", email = "[email protected]" }]
dependencies = ["torch", "torchvision", "matplotlib", "tqdm", "tomli;python_version<'3.11'"]
dynamic = ["version"]
[project.optional-dependencies]
server = ["aiohttp"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "rotate_captcha_crack/__version__.py"
[tool.uv]
managed = true
[tool.uv.sources]
torch = [{ index = "pytorch-cu124", marker = "platform_system != 'Darwin'" }]
torchvision = [{ index = "pytorch-cu124", marker = "platform_system != 'Darwin'" }]
[[tool.uv.index]]
name = "pytorch-cu124"
url = "https://download.pytorch.org/whl/cu124"
explicit = true
[tool.ruff]
line-length = 120
target-version = "py38"
[tool.ruff.format]
quote-style = "preserve"
[tool.ruff.lint]
select = [
"F",
"E",
"W",
"I",
"UP",
"YTT",
"ASYNC",
"B",
"A",
"COM",
"C4",
"FA",
"PIE",
"PT",
"RSE",
"NPY",
"PERF",
"FURB",
]
ignore = ["E402", "E501", "COM812"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]