diff --git a/libs/partners/exa/pyproject.toml b/libs/partners/exa/pyproject.toml index 64e73a160eb..42754ccd584 100644 --- a/libs/partners/exa/pyproject.toml +++ b/libs/partners/exa/pyproject.toml @@ -41,7 +41,6 @@ typing = [ [tool.uv.sources] langchain-core = { path = "../../core", editable = true } - [tool.mypy] disallow_untyped_defs = "True" @@ -49,7 +48,7 @@ disallow_untyped_defs = "True" target-version = "py39" [tool.ruff.lint] -select = ["E", "F", "I", "T201", "UP"] +select = ["E", "F", "I", "T201", "UP", "S"] ignore = [ "UP007", ] [tool.coverage.run] @@ -62,3 +61,9 @@ markers = [ "compile: mark placeholder test used to compile integration tests without running them", ] asyncio_mode = "auto" + +[tool.ruff.lint.extend-per-file-ignores] +"tests/**/*.py" = [ + "S101", # Tests need assertions + "S311", # Standard pseudo-random generators are not suitable for cryptographic purposes +] \ No newline at end of file