-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
73 lines (60 loc) · 1.21 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "raythena"
dynamic = ["version"]
readme = "README.md"
license = {file = "LICENSE"}
authors = [
{ name = "Julien Esseiva", email = "[email protected]" },
]
requires-python = ">=3.9"
dependencies = [
"aiohttp",
"click",
"protobuf",
"psutil",
"ray",
"setproctitle",
"uvloop",
]
[project.scripts]
raythena = "raythena.scripts.raythena:main"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/raythena/_version.py"
[tool.hatch.envs.test]
dependencies = [
"pytest"
]
[tool.hatch.build.targets.wheel.shared-scripts]
"bin/ray_start_head" = "ray_start_head"
"bin/ray_start_worker" = "ray_start_worker"
"bin/ray_sync" = "ray_sync"
[tool.hatch.build.targets.wheel.shared-data]
"conf/cori.yaml" = "conf/cori.yaml"
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py39"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# Ruff
"RUF",
]
[tool.ruff.lint.isort]
no-lines-before = ["third-party", "first-party", "standard-library"]