-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
77 lines (68 loc) · 1.66 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
74
75
76
77
[build-system]
requires = ["setuptools", "wheel", "packaging", "torch"]
build-backend = "setuptools.build_meta"
[project]
name = "learning-nucleotides"
version = "0.0.1"
description = "Experiments on the learnability of DNA sequences"
authors = [{ name = "dna", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"torch",
"datasets",
"transformers",
"huggingface_hub[cli]",
"accelerate",
"seaborn",
"pydantic",
"kan-gpt @ git+https://github.com/hssn-20/kan-gpt",
"PyWavelets",
"evo-model",
"levenshtein",
"audio-diffusion-pytorch",
"jax[cuda12]>=0.4.35",
"jaxlib>=0.4.34",
"optax>=0.2.3",
"flax>=0.10.0",
]
[tool.uv]
dev-dependencies = ["ruff", "pytest", "pre-commit"]
[tool.setuptools.packages.find]
where = ["experiments"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--log-cli-level=INFO -sv --durations=0"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"W",
"F", # pyflakes
"PL", # pylint
"I", # isort
"B", # flake8-bugbear
"SIM", # flake8-simplify
"C4", # flake8-comprehensions
"RUF", # ruff
]
fixable = ["ALL"]
ignore = [
"PLR0913", # too many arguments
"PLR0914", # too many local variables
"PLR0917", # too many positional arguments
"PLR2004", # magic number
"PLW2901", # for loop variable overwritten by assignment target
"E501", # line too long
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401", "D104"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"