chore: adress pytest-asyncio deprecation warnings + other nits (#32696)

amongst some linting imcompatible rules
This commit is contained in:
Mason Daugherty
2025-08-26 15:51:38 -04:00
committed by GitHub
parent f2dcdae467
commit 3d08b6bd11
37 changed files with 2965 additions and 2892 deletions

View File

@@ -85,6 +85,7 @@ select = [
"YTT", # flake8-2020
]
ignore = [
"COM812", # Conflicts with formatter
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
@@ -92,6 +93,8 @@ ignore = [
"D104", # Missing docstring in public package
"D105", # Missing docstring in magic method
"D107", # Missing docstring in __init__
"D203", # 1 blank line required before class docstring (incompatible with D211)
"D213", # Multi-line docstring summary should start at the second line (incompatible with D212)
"UP007", # pyupgrade: non-pep604-annotation-union
"UP045", # pyupgrade: non-pep604-annotation-optional
]
@@ -107,6 +110,9 @@ markers = [
]
asyncio_mode = "auto"
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.extend-per-file-ignores]
"tests/**/*.py" = [
"S101", # Tests need assertions