chore(core): harden private SSRF utilities (#36768)

This commit is contained in:
ccurme
2026-04-15 16:13:20 -04:00
committed by GitHub
parent 311675a517
commit 7d601dc2c6
9 changed files with 1029 additions and 374 deletions

View File

@@ -135,8 +135,10 @@ ignore-var-parameters = true # ignore missing documentation for *args and **kwa
"langchain_core/utils/mustache.py" = [ "PLW0603",]
"langchain_core/sys_info.py" = [ "T201",]
"tests/unit_tests/test_tools.py" = [ "ARG",]
"tests/**" = [ "D1", "PLR2004", "S", "SLF",]
"tests/**" = [ "ARG", "D1", "PLR2004", "S", "SLF",]
"scripts/**" = [ "INP", "S", "T201",]
"langchain_core/_security/_policy.py" = [ "EM101", "EM102", "TRY003", "B008", "TRY300",]
"langchain_core/_security/_transport.py" = [ "EM101", "EM102", "TRY003", "TRY203", "B008",]
[tool.coverage.run]
omit = [ "tests/*",]