-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (44 loc) · 1.38 KB
/
pyproject.toml
File metadata and controls
52 lines (44 loc) · 1.38 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
[tool.poetry]
name = "auto-circuit"
version = "0.1.0" # This isn't used. Version set during Github action.
description = ""
authors = ["UFO-101 <josephmiller101@gmail.com>"]
readme = "README.md"
packages = [{include = "auto_circuit"}]
[tool.poetry.dependencies]
python = "^3.10"
torch = ">=2.1.1"
transformer-lens = ">=1.13.0"
einops = ">=0.6.1"
ordered-set = ">=4.1.0"
plotly = ">=5.18.0"
kaleido = "==0.2.1" # Improved renderer for plotly
blobfile = ">=2.0.2"
word2word = ">=1.0.0"
vscode-tqdm = ">=4.66.2" # My fork of tqdm that works in VSCode
tracr-pypi = ">=1.0.0" # My fork of tracr that is exactly the same (but on PyPI)
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.3"
ipykernel = "^6.25.0"
ipywidgets = "^8.1.0"
jupyter = "^1.0.0"
pytest = "^7.4.0"
pyright = "^1.1.350"
ipytest = "^0.13.3"
# torch-tb-profiler = "^0.4.1"
[tool.poetry.group.docs.dependencies]
mkdocs-material = "^9.5.17"
mkdocstrings = {extras = ["python"], version = "^0.24.3"}
mkdocs-gen-files = "^0.5.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
# pyflakes, pycodestyle, isort
select = ["F", "E", "W", "I001"]
[tool.pyright]
ignore = ["datasets/ioi/ioi_generator.py", "datasets/greaterthan_generator.py", "datasets/docstring_generator.py"]
reportMissingParameterType = true
reportUnknownParameterType = true
[tool.pytest.ini_options]
testpaths = ["tests"]