-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
32 lines (26 loc) · 785 Bytes
/
pyproject.toml
File metadata and controls
32 lines (26 loc) · 785 Bytes
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
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "D", "ISC"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["D", "E501"]
"dataset/generate_dataset.py" = ["D", "E501"]
"conversationTest.py" = ["D", "E501"]
"judge_simulator.py" = ["D", "E501", "F401", "F541", "B904", "UP"]
"scripts/**" = ["D", "E501", "E402", "F401", "F541"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_redundant_casts = true
no_implicit_optional = true
check_untyped_defs = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["tests.*"]
ignore_errors = true
[[tool.mypy.overrides]]
module = ["judge_simulator", "conversationTest", "dataset.*"]
ignore_errors = true