-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (73 loc) · 2.13 KB
/
pyproject.toml
File metadata and controls
85 lines (73 loc) · 2.13 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
[project]
name = "processor"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"aiohttp==3.12.15",
"art==6.5",
"azure-ai-agents==1.2.0b3",
"azure-ai-inference==1.0.0b9",
"azure-ai-projects==1.0.0b12",
"azure-appconfiguration==1.7.1",
"azure-identity==1.24.0",
"azure-storage-queue==12.13.0",
"fastmcp==2.12.2",
"jinja2==3.1.6",
"mcp==1.23.0",
"openai==1.107.1",
"psutil==7.0.0",
"pytz==2025.2",
"sas-cosmosdb==0.1.4",
"semantic-kernel==1.36.2",
]
[dependency-groups]
dev = ["pre-commit>=4.0.1", "ruff>=0.8.6"]
[tool.ruff]
# Set the target Python version
target-version = "py312"
# Enable auto-fixing for all fixable rules
fix = true
# Same as VS Code's default line length
line-length = 88
[tool.ruff.lint]
# Enable commonly used rule sets
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort (import sorting)
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"SIM", # flake8-simplify
]
# Ignore specific rules that might conflict with Pylance
ignore = [
"E501", # Line too long (handled by formatter)
"E203", # Whitespace before ':' (conflicts with black/ruff formatter)
"F401", # Imported but unused (when using TYPE_CHECKING)
"F811", # Redefined while unused (common with TYPE_CHECKING patterns)
]
# Auto-fix these specific whitespace and formatting issues
fixable = [
"E", # pycodestyle errors (including whitespace)
"W", # pycodestyle warnings (including whitespace)
"I", # isort (import sorting)
"F401", # Remove unused imports
"UP", # pyupgrade fixes
]
[tool.ruff.lint.isort]
# Configure import sorting to work well with your project
known-first-party = ["src"]
force-sort-within-sections = true
# Separate TYPE_CHECKING imports
split-on-trailing-comma = true
[tool.ruff.format]
# Use double quotes for strings
quote-style = "double"
# Prefer double quotes for docstrings
docstring-code-format = true
# Remove trailing whitespace
skip-magic-trailing-comma = false