-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
59 lines (50 loc) · 1.31 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
[project]
name = "milatools"
description = "Tools to work with the Mila cluster"
authors = [
{ name = "Olivier Breuleux", email = "[email protected]" },
{ name = "Fabrice Normandin", email = "[email protected]" },
]
dynamic = ["version"]
readme = "README.md"
homepage = "https://github.com/mila-iqia/milatools"
repository = "https://github.com/mila-iqia/milatools"
license = "MIT"
requires-python = ">=3.9"
dependencies = [
"blessed>=1.20.0",
"fabric>=3.2.2",
"questionary>=2.0.1",
"rich>=13.9.4",
"sshconf>=0.2.7",
"tqdm>=4.67.1",
"typing-extensions>=4.12.2",
]
[project.scripts]
mila = "milatools.cli.__main__:main"
[dependency-groups]
dev = [
"pytest-mock>=3.14.0",
"pytest>=8.3.4",
"pytest-asyncio>=0.25.0",
"pytest-cov>=6.0.0",
"pytest-regressions>=2.6.0",
"pytest-socket>=0.7.0",
"pytest-skip-slow>=0.0.5",
]
[tool.pytest.ini_options]
addopts = "--doctest-modules"
[tool.ruff]
line-length = 88
indent-width = 4
# Add the pyupgrade and isort options in addition to the defaults.
select = ["E4", "E7", "E9", "F", "I", "UP"]
[tool.hatch.version]
source = "uv-dynamic-versioning"
[tool.uv-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"