-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
126 lines (119 loc) · 2.25 KB
/
pyproject.toml
File metadata and controls
126 lines (119 loc) · 2.25 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
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
[project]
name = "able-ableism-bias-language-evaluation"
version = "0.2.0"
description = "ABLE: Ableism Bias Language Evaluation - Ein LLM-basiertes System zur automatisierten Evaluation von Chatbots auf ableistische Inhalte, entwickelt von Aktion Mensch in Zusammenarbeit mit der Hochschule Bielefeld."
authors = [
{name = "Florian Sang",email = "florian.sang@aktion-mensch.de"}
]
readme = "README.md"
requires-python = ">=3.11,<4"
dependencies = [
"python-dotenv (>=1.1.1,<2.0.0)",
"openai (>=1.97.0,<2.0.0)",
"selenium (>=4.34.2,<5.0.0)",
"ipykernel (>=6.29.5,<7.0.0)",
"ruff (>=0.12.4,<0.13.0)",
"plotly (>=6.2.0,<7.0.0)",
"pandas (>=2.3.1,<3.0.0)",
]
[tool.poetry]
packages = [
{include = "able", from = "src"}
]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
src = ["src"]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
line-length = 88
indent-width = 4
extend-include = ["*.ipynb"]
target-version = "py311"
[tool.ruff.lint]
select = [
"YTT",
"ANN",
"ASYNC",
"S",
"B",
"A",
"C4",
"DTZ",
"ICN",
"LOG",
"G",
"T20",
"PYI",
"Q",
"RET",
"TID",
"PTH",
"I",
"C90",
"N",
"PERF",
"E",
"W",
"DOC",
"F",
"UP",
"RUF"
]
ignore = [
"E501",
"ANN401",
"ANN003",
"G004",
]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
skip-magic-trailing-comma = false
indent-style = "space"
line-ending = "auto"
[tool.mypy]
python_version = "3.11"
warn_return_any = false
warn_unused_configs = false
ignore_missing_imports = true
check_untyped_defs = true
files = "src"
[tool.pyright]
include = ["src"]
exclude = [
"**/__pycache__",
]
pythonVersion = "3.11"
reportMissingTypeStubs = false
reportMissingImports = true
extraPaths = []