-
-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (85 loc) · 1.78 KB
/
pyproject.toml
File metadata and controls
94 lines (85 loc) · 1.78 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "pyclashbot"
version = "v0.0.0"
description = "Automated Clash Royale"
authors = [
{ name = "Matthew Miglio", email = "matthew@pyclashbot.app" },
{ name = "Martin Miglio", email = "code@martinmiglio.dev" },
]
requires-python = ">=3.12.0,<3.13"
readme = "README.md"
license = {text = "NC-CL-1.0 AND CC-BY-NC-SA-4.0"}
classifiers = [
"License :: Other/Proprietary License",
]
dependencies = [
"opencv-python>=4.9.0,<5",
"numpy>=2.2.1,<3",
"pymemuc>=0.6.0,<0.7",
"psutil>=6.1.0,<8",
"pypresence>=4.3.0,<5",
"pillow (>=11.3.0,<13.0.0)",
"ttkbootstrap>=1.12.1,<1.21",
]
[tool.setuptools.packages.find]
include = ["pyclashbot*"]
exclude = ["assets*", "scripts*"]
[project.urls]
homepage = "https://pyclashbot.app"
[dependency-groups]
build = [
"cx-freeze>=8.3.0,<9; sys_platform == 'win32'",
"pyinstaller>=6.0.0,<7; sys_platform == 'darwin'",
"packaging>=24.2",
"requests>=2.32.4",
]
dev = ["pre-commit>=4.0.1,<5", "ruff>=0.7.4,<0.16"]
[tool.ruff.lint]
select = [
"C4",
"E",
"F",
"W",
"C90",
"I",
"INP",
"ISC",
"PGH",
"PL",
"UP",
"N",
"RUF",
"TCH",
"TID251",
]
ignore = [
"PLR0913",
"PLR0914",
"PLR0912",
"PLR0915",
"PLR0904",
"PLR0911",
"PLR0916",
"PLR1702",
"PLR1704",
"PLR0402",
"PLR0206",
"PLW0603",
"PLR2004",
"PLR6301",
"PLR6201",
"RUF012",
"TCH002",
"E402",
"C901",
"E501",
]
[tool.ruff]
line-length = 120
[tool.ruff.lint.flake8-tidy-imports.banned-api]
"time.sleep".msg = "Use interruptible_sleep() from pyclashbot.utils.cancellation instead for proper thread cancellation support."
[tool.isort]
profile = "black"