mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
chore: adress pytest-asyncio deprecation warnings + other nits (#32696)
amongst some linting imcompatible rules
This commit is contained in:
@@ -91,6 +91,8 @@ ignore = [
|
||||
"D104", # Missing docstring in public package
|
||||
"D105", # Missing docstring in magic method
|
||||
"D107", # Missing docstring in __init__
|
||||
"D203", # Incompatible with D211 (blank line before class)
|
||||
"D213", # Incompatible with D212 (multi-line summary)
|
||||
"COM812", # Messes with the formatter
|
||||
"ISC001", # Messes with the formatter
|
||||
"PERF203", # Rarely useful
|
||||
@@ -113,6 +115,9 @@ markers = [
|
||||
]
|
||||
asyncio_mode = "auto"
|
||||
|
||||
[tool.ruff.lint.pydocstyle]
|
||||
convention = "google"
|
||||
|
||||
[tool.ruff.lint.extend-per-file-ignores]
|
||||
"tests/**/*.py" = [
|
||||
"S101", # Tests need assertions
|
||||
|
||||
Reference in New Issue
Block a user