Skip to content

Commit 74dc008

Browse files
committed
ci: Ignore Ruff warnings
1 parent e895f89 commit 74dc008

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/griffe_pydantic/_internal/dynamic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _process_class(obj: type, cls: Class, *, processed: set[str], schema: bool =
5858
if schema:
5959
try:
6060
cls.extra[common._self_namespace]["schema"] = common._json_schema(obj)
61-
except Exception as exc:
61+
except Exception as exc: # noqa: BLE001
6262
# Schema generation can fail and raise Pydantic errors.
6363
_logger.debug("Failed to generate schema for %s: %s", cls.path, exc)
6464
for member in cls.all_members.values():

src/griffe_pydantic/_internal/static.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def _process_class(cls: Class, *, processed: set[str], schema: bool = False) ->
198198
return
199199
try:
200200
cls.extra[common._self_namespace]["schema"] = common._json_schema(true_class)
201-
except Exception as exc:
201+
except Exception as exc: # noqa: BLE001
202202
# Schema generation can fail and raise Pydantic errors.
203203
_logger.debug("Failed to generate schema for %s: %s", cls.path, exc)
204204

0 commit comments

Comments
 (0)