-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
51 lines (43 loc) · 1.07 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
[tool.poetry]
name = "mlx-esm"
version = "0.1.0"
description = "Implementation of Meta's ESM-1 in MLX"
authors = ["Usman Masood <[email protected]>"]
readme = "README.md"
[tool.poetry.scripts]
cli = "mlx_esm.cli:main"
[tool.poetry.dependencies]
python = "^3.11"
mlx = "^0.2.0"
requests = "^2.31.0"
ruff = "^0.2.1"
pyright = "^1.1.350"
jupyterlab = "^4.1.0"
ipython = "^8.21.0"
matplotlib = "^3.8.2"
numpy = "^1.26.4"
click = "^8.1.7"
tqdm = "^4.66.2"
ipywidgets = "^8.1.2"
py3dmol = "^2.0.4"
[tool.poetry.group.dev.dependencies]
torch = "^2.2.0"
[tool.pyright]
# https://github.com/microsoft/pyright/blob/main/docs/configuration.md
useLibraryCodeForTypes = true
exclude = [".cache"]
# strict = ["mlx_esm/**"]
[tool.ruff]
# https://docs.astral.sh/ruff/configuration/
line-length = 100
indent-width = 2
[tool.ruff.lint]
select = ['E', 'W', 'F', 'I', 'B', 'C4', 'ARG', 'SIM']
ignore = ['W291', 'W292', 'W293']
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"