Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ disable = ["R0801"]
extend-exclude = ["tests/profiles/syntax_error.py"]

[tool.ruff.lint]
extend-select = ["TID251", "UP006", "UP007", "UP017", "UP035", "RUF100"]
extend-select = ["TID251", "UP006", "UP007", "UP017", "UP035", "RUF100", "B010"]

[tool.ruff.lint.flake8-tidy-imports.banned-api]
unittest = { msg = "use pytest instead of unittest" }
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/utils/test_responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(
content: Any = None,
) -> None:
# Use setattr to avoid conflict with built-in 'type'
setattr(self, "type", item_type)
self.type = item_type
self.role = role
self.content = content

Expand Down
Loading