mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
fix(infra): fix trailing comma regex in profile generation script (#35333)
The trailing comma regex in the profile generation script consumed the closing `}` as part of its match, preventing nested closing braces from getting their own trailing comma. This caused `ruff format` failures on every generated `_profiles.py` file. Switches to a lookahead (`(?=...)`) so the closing bracket is asserted but not consumed, allowing each nesting level to independently receive its trailing comma. Fixes #35332.
This commit is contained in:
2
libs/partners/deepseek/uv.lock
generated
2
libs/partners/deepseek/uv.lock
generated
@@ -370,7 +370,7 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "langchain-core"
|
||||
version = "1.2.13"
|
||||
version = "1.2.14"
|
||||
source = { editable = "../../core" }
|
||||
dependencies = [
|
||||
{ name = "jsonpatch" },
|
||||
|
||||
Reference in New Issue
Block a user