10000 chore: Update isort config to prevent vscode flickering · devevignesh/adk-python@a7ea374 · GitHub
[go: up one dir, main page]

Skip to content

Commit a7ea374

Browse files
Jacksunweicopybara-github
authored andcommitted
chore: Update isort config to prevent vscode flickering
PiperOrigin-RevId: 770406033
1 parent f46b73b commit a7ea374

File tree

1 file changed

+25
-19
lines changed

1 file changed

+25
-19
lines changed

pyproject.toml

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,27 @@ classifiers = [ # List of https://pypi.org/classifiers/
2525
]
2626
dependencies = [
2727
# go/keep-sorted start
28-
"authlib>=1.5.1", # For RestAPI Tool
29-
"click>=8.1.8", # For CLI tools
30-
"fastapi>=0.115.0", # FastAPI framework
31-
"google-api-python-client>=2.157.0", # Google API client discovery
32-
"google-cloud-aiplatform[agent_engines]>=1.95.1", # For VertexAI integrations, e.g. example store.
33-
"google-cloud-secret-manager>=2.22.0", # Fetching secrets in RestAPI Tool
34-
"google-cloud-speech>=2.30.0", # For Audio Transcription
35-
"google-cloud-storage>=2.18.0, <3.0.0", # For GCS Artifact service
36-
"google-genai>=1.17.0", # Google GenAI SDK
37-
"graphviz>=0.20.2", # Graphviz for graph rendering
38-
"mcp>=1.8.0;python_version>='3.10'", # For MCP Toolset
39-
"opentelemetry-api>=1.31.0", # OpenTelemetry
28+
"authlib>=1.5.1", # For RestAPI Tool
29+
"click>=8.1.8", # For CLI tools
30+
"fastapi>=0.115.0", # FastAPI framework
31+
"google-api-python-client>=2.157.0", # Google API client discovery
32+
"google-cloud-aiplatform[agent_engines]>=1.95.1", # For VertexAI integrations, e.g. example store.
33+
"google-cloud-secret-manager>=2.22.0", # Fetching secrets in RestAPI Tool
34+
"google-cloud-speech>=2.30.0", # For Audio Transcription
35+
"google-cloud-storage>=2.18.0, <3.0.0", # For GCS Artifact service
36+
"google-genai>=1.17.0", # Google GenAI SDK
37+
"graphviz>=0.20.2", # Graphviz for graph rendering
38+
"mcp>=1.8.0;python_version>='3.10'", # For MCP Toolset
39+
"opentelemetry-api>=1.31.0", # OpenTelemetry
4040
"opentelemetry-exporter-gcp-trace>=1.9.0",
4141
"opentelemetry-sdk>=1.31.0",
42-
"pydantic>=2.0, <3.0.0", # For data validation/models
43-
"python-dotenv>=1.0.0", # To manage environment variables
44-
"PyYAML>=6.0.2", # For APIHubToolset.
45-
"sqlalchemy>=2.0", # SQL database ORM
46-
"tzlocal>=5.3", # Time zone utilities
42+
"pydantic>=2.0, <3.0.0", # For data validation/models
43+
"python-dotenv>=1.0.0", # To manage environment variables
44+
"PyYAML>=6.0.2", # For APIHubToolset.
45+
"sqlalchemy>=2.0", # SQL database ORM
46+
"tzlocal>=5.3", # Time zone utilities
4747
"typing-extensions>=4.5, <5",
48-
"uvicorn>=0.34.0", # ASGI server for FastAPI
48+
"uvicorn>=0.34.0", # ASGI server for FastAPI
4949
# go/keep-sorted end
5050
]
5151
dynamic = ["version"]
@@ -84,7 +84,7 @@ test = [
8484
"anthropic>=0.43.0", # For anthropic model tests
8585
"langchain-community>=0.3.17",
8686
"langgraph>=0.2.60", # For LangGraphAgent
87-
"litellm>=1.71.2", # For LiteLLM tests
87+
"litellm>=1.71.2", # For LiteLLM tests
8888
"llama-index-readers-file>=0.4.0", # For retrieval tests
8989

9090
"pytest-asyncio>=0.25.0",
@@ -140,24 +140,30 @@ pyink-annotation-pragmas = [
140140
requires = ["flit_core >=3.8,<4"]
141141
build-backend = "flit_core.buildapi"
142142

143+
143144
[tool.flit.sdist]
144145
include = ['src/**/*', 'README.md', 'pyproject.toml', 'LICENSE']
145146
exclude = ['src/**/*.sh']
146147

148+
147149
[tool.flit.module]
148150
name = "google.adk"
149151
include = ["py.typed"]
150152

153+
151154
[tool.isort]
152155
profile = "google"
153156
single_line_exclusions = []
157+
line_length = 200 # Prevent line wrap flickering.
154158
known_third_party = ["google.adk"]
155159

160+
156161
[tool.pytest.ini_options]
157162
testpaths = ["tests"]
158163
asyncio_default_fixture_loop_scope = "function"
159164
asyncio_mode = "auto"
160165

166+
161167
[tool.mypy]
162168
python_version = "3.9"
163169
exclude = "tests/"

0 commit comments

Comments
 (0)
0