-
Notifications
You must be signed in to change notification settings - Fork 37
/
pyproject.toml
69 lines (65 loc) · 1.2 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ClashRoyaleBuildABot"
version = "0.1.0"
authors = [
{name = "pbatch"},
]
description = "A platform for creating bots to play Clash Royale"
readme = "README.md"
requires-python = ">= 3.9"
dependencies = [
"flatbuffers>=2.0",
"numpy>=1.23.5,<2",
"Pillow>=10.1.0",
"protobuf>=3.20.3",
"keyboard>=0.13.5",
"scipy>=1.13.1",
"rich>=13.7.1",
"loguru>=0.7.2",
"PyYAML>=6.0.1",
"pybind11>=2.12",
"requests>=2.25.1",
"PyQt6>=6.7.1",
"av",
"tqdm",
"opencv-python==4.10.0.84",
"pre-commit==3.5.0",
"black==24.4.0",
"flake8==7.0.0",
"isort==5.13.2",
"pylint==3.1.0",
]
[project.optional-dependencies]
cpu = [
"onnxruntime>=1.18.0"
]
gpu = [
"onnxruntime-gpu>=1.18.0",
]
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
)/
'''
[tool.isort]
profile = "black"
line_length = 79
force_single_line = true
force_sort_within_sections = true
lexicographical = true
single_line_exclusions = ["typing"]
order_by_type = false
group_by_package = true
skip_glob = ["venv/*"]