-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (79 loc) · 1.59 KB
/
pyproject.toml
File metadata and controls
89 lines (79 loc) · 1.59 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[project]
name = "APE"
description = "LLM Deception and Persuasion"
requires-python = ">=3.11"
version = "0.0.1"
dependencies = [
"python-dotenv",
"openai",
"matplotlib",
"pytz",
"pyyaml",
"scipy",
"pandas",
"litellm",
"google-cloud-aiplatform",
"seaborn",
"scikit-learn",
"transformers",
"torch",
"accelerate",
"tabulate",
"hydra-core"
]
[project.optional-dependencies]
dev = [
"black",
"pre-commit",
"mypy",
"isort",
"pandas-stubs",
"types-tabulate",
"types-tqdm",
"types-pytz",
"types-PyYAML",
"flake8"
]
test = [
"pytest",
"pytest-asyncio"
]
[tool.logviz-dependencies]
Flask = "^2.3.2"
jsonlines = "^3.1.0"
graphene = "^3.3"
graphql-server = { version = "^3.0.0b7", extras = ["flask"] }
flask-cors = "^4.0.0"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
include = ["persuasion*"]
[tool.setuptools.package-data]
"*" = ["*.jsonl", "*.txt", "*.csv"]
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
pythonpath = [
"src"
]
asyncio_mode = "auto"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = false
disallow_untyped_decorators = false
no_implicit_optional = false
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
ignore_missing_imports = true
# Exclude files with many errors for now
exclude = [
"src/visualizations/.*",
"src/test_visualization_recreation.py"
]