-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (78 loc) · 2.11 KB
/
pyproject.toml
File metadata and controls
87 lines (78 loc) · 2.11 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "bcbench"
version = "0.5.1"
description = "Benchmarking tool for Business Central (AL) ecosystem, inspired by SWE-Bench"
readme = "README.md"
requires-python = ">=3.13"
license = {text = "MIT"}
authors = [
{name = "Microsoft Corporation"}
]
classifiers = ["Private :: Do Not Upload"]
dependencies = [
"jsonschema>=4.0",
"python-dotenv>=1.0",
"requests>=2.0",
"unidiff>=0.7",
"mini-swe-agent>=1.0.0",
"typer>=0.9.0",
"typing-extensions>=4.0",
"pyyaml>=6.0",
"pydantic>=2.0",
"textual>=7.0",
"numpy>=2.3.5",
"scipy>=1.16.3",
]
[project.scripts]
bcbench = "bcbench.cli:app"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
bcbench = ["agent/*.yaml"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["-v", "--strict-markers"]
markers = [
"integration"
]
collect_imported_tests = false
[tool.ruff]
target-version = "py313"
line-length = 200
[tool.ruff.lint]
extend-select = [
"PLE", # Pylint errors (includes __all__ validation)
"PLW", # Pylint warnings (includes subprocess.run check requirement)
"I", # isort (import sorting)
"UP", # pyupgrade (modernize Python code)
"B", # flake8-bugbear (find likely bugs)
"SIM", # flake8-simplify (simplify code)
"C4", # flake8-comprehensions (better list/dict comprehensions)
"PIE", # flake8-pie (misc lints)
"RET", # flake8-return (simplify return statements)
"PTH", # flake8-use-pathlib (prefer pathlib over os.path)
"RUF", # Ruff-specific rules
"TID252", # Ban relative imports
]
# Ignore specific rules that might be too aggressive
ignore = [
"UP035", # deprecated-import (typing.Dict, etc. still valid)
"PTH123", # Allow open() for now, Path.open() migration can be gradual
]
[dependency-groups]
analysis = [
"ipykernel>=7.1.0",
"nbformat>=5.10.4",
"pandas>=2.3.3",
"plotly>=6.5.0",
]
dev = [
"pytest>=9.0.3",
"pytest-cov>=7.0",
"ruff>=0.13.0",
"pre-commit>=4.3.0",
"ty>=0.0.1a25",
]