-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
160 lines (141 loc) · 3.19 KB
/
setup.cfg
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
##########################
# Setup.py Configuration #
##########################
[metadata]
name = jailbreak_benchmark
version = 0.0.1-dev
description = A comprehensive jailbreak benchmark on LLMs and VLMs
long_description = file: README.md
long_description_content_type = text/markdown
# License Information
license = MIT
license_files =
LICENSE
# Search tags
classifiers =
Development Status :: 1 - Planning
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Framework :: Pytest
Framework :: tox
Framework :: Sphinx
Programming Language :: Python
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3 :: Only
# TODO add your topics from the Trove controlled vocabulary (see https://pypi.org/classifiers)
keywords =
snekpack
cookiecutter
# TODO add your own free-text keywords
[options]
install_requires =
# Missing itertools from the standard library you didn't know you needed
more_itertools
# Use progress bars excessively
tqdm
# TODO your requirements go here
ipdb
openai
datasets
transformers
torch
Pillow
vertexai
google-api-python-client
imageio
# for LLamaGuard-4bit
accelerate
auto-gptq
optimum
# Random options
zip_safe = false
include_package_data = True
python_requires = >=3.8
# Where is my code
packages = find:
package_dir =
= src
[options.packages.find]
where = src
[options.extras_require]
tests =
pytest
coverage
docs =
sphinx
sphinx-rtd-theme
sphinx_automodapi
# To include LaTeX comments easily in your docs.
# If you uncomment this, don't forget to do the same in docs/conf.py
# texext
######################
# Doc8 Configuration #
# (doc8.ini) #
######################
[doc8]
max-line-length = 120
##########################
# Coverage Configuration #
# (.coveragerc) #
##########################
[coverage:run]
branch = True
source = jailbreak_benchmark
omit =
tests/*
docs/*
[coverage:paths]
source =
src/jailbreak_benchmark
.tox/*/lib/python*/site-packages/jailbreak_benchmark
[coverage:report]
show_missing = True
exclude_lines =
pragma: no cover
raise NotImplementedError
if __name__ == "__main__":
if TYPE_CHECKING:
def __str__
def __repr__
##########################
# Darglint Configuration #
##########################
[darglint]
docstring_style = sphinx
strictness = short
#########################
# Flake8 Configuration #
# (.flake8) #
#########################
[flake8]
ignore =
S301 # pickle
S403 # pickle
S404
S603
W503 # Line break before binary operator (flake8 is wrong)
E203 # whitespace before ':'
exclude =
.tox,
.git,
__pycache__,
docs/source/conf.py,
build,
dist,
tests/fixtures/*,
*.pyc,
*.egg-info,
.cache,
.eggs,
data
max-line-length = 120
max-complexity = 20
import-order-style = pycharm
application-import-names =
jailbreak_benchmark
tests