-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
43 lines (38 loc) · 1.41 KB
/
pyproject.toml
File metadata and controls
43 lines (38 loc) · 1.41 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
[project]
name = "synth-sae-bench-experiments"
version = "0.1.0"
description = "Experiments for the paper 'SynthSAEBench: Evaluating Sparse Autoencoders on Scalable Realistic Synthetic Data'"
readme = "README.md"
requires-python = ">=3.11"
dependencies = ["sae-lens>=6.37.0"]
[dependency-groups]
dev = ["kaleido>=1.2.0", "pyright>=1.1.408", "pytest>=9.0.2", "ruff>=0.14.14"]
[tool.ruff.lint]
exclude = ["*.ipynb"]
ignore = ["E203", "E501", "E731", "F722", "E741", "F821", "F403", "ARG002"]
select = ["UP", "TID", "I", "F", "E", "ARG", "SIM", "RET", "LOG", "T20"]
[tool.ruff.lint.per-file-ignores]
"experiments/*" = ["T20"]
"tests/*" = ["TID251"]
[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"
"tests".msg = "Do not import from tests in the main codebase."
[tool.pyright]
typeCheckingMode = "strict"
reportMissingTypeStubs = "none"
reportUnknownMemberType = "none"
reportUnknownArgumentType = "none"
reportUnknownVariableType = "none"
reportUntypedFunctionDecorator = "none"
reportUnnecessaryIsInstance = "none"
reportUnnecessaryComparison = "none"
reportConstantRedefinition = "none"
reportUnknownLambdaType = "none"
reportPrivateUsage = "none"
reportDeprecated = "none"
reportPrivateImportUsage = "none"
ignore = ["**/wandb/**"]