-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
52 lines (44 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
[tool.poetry]
name = "probe-lens"
version = "0.1.0"
description = ""
authors = ["Sharan Yalburgi <sharanyalburgi@gmail.com>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
tqdm = "^4.66.5"
torch = "^2.5.0"
matplotlib = "^3.9.2"
scikit-learn = "^1.5.2"
seaborn = "^0.13.2"
sae-lens = "^4.0.9"
transformer-lens = "^2.8.1"
[tool.poetry.group.dev.dependencies]
ruff = "^0.5.1"
pytest = "^8.2.2"
pyright = "^1.1.370"
pre-commit = "^3.7.1"
ipykernel = "^6.29.5"
nnsight = "^0.2.21"
syrupy = "^4.6.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
[tool.ruff]
exclude = ["dist", "docs"]
[tool.ruff.lint]
ignore = ["E203", "E501", "E731"]
extend-select = ["UP", "TID", "I", "F", "E", "ARG"]
[tool.ruff.lint.flake8-tidy-imports.banned-api]
"typing.Union".msg = "Use `|` instead"
"typing.Optional".msg = "Use `| None` instead"
"typing.Dict".msg = "Use `dict` instead"
"typing.Tuple".msg = "Use `tuple` instead"
"typing.List".msg = "Use `list` instead"
"tqdm._tqdm".msg = "Use `from tqdm.autonotebook import tqdm` instead"
"tqdm.tqdm".msg = "Use `from tqdm.autonotebook import tqdm` instead"
[tool.pyright]
typeCheckingMode = "standard"