-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (63 loc) · 1.48 KB
/
pyproject.toml
File metadata and controls
71 lines (63 loc) · 1.48 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["simplexity"]
[project]
name = "simplexity"
version = "0.1"
description = "Computational Mechanics of sequence prediction models."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"boto3>=1.37.24",
"chex",
"dotenv",
"equinox",
"hydra-core",
"hydra-optuna-sweeper",
"jax",
"jupyter",
"matplotlib",
"mlflow>=3.0.0",
"optax",
"orbax-checkpoint",
"pandas",
"penzai",
"plotly",
"treescope",
]
[project.optional-dependencies]
aws = ["boto3"]
cuda = ["jax[cuda12_pip]"]
dev = ["jaxtyping", "nbqa", "pyright", "pytest", "pytest-cov", "ruff"]
mac = ["jax-metal"]
pytorch = ["torch"]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
ignore = [
"D100", # undocumented-public-module
"D105", # Missing docstring in magic method
"D107", # Missing docstring in __init__
"SIM108", # Use the ternary operator
]
select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"D", # pydocstyle https://www.pydocstyle.org/en/stable/error_codes.html
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"PT", # flake8-pytest-style
"SIM", # flake8-simplify
"UP", # pyupgrade
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"test_*.py" = ["D"]
"*.ipynb" = ["D"]
[tool.pyright]
typeCheckingMode = "standard"