Management command updates (various) #12
Annotations
4 errors
Ruff (SIM910):
src/wagtail_bynder/models.py#L186
wagtail_bynder/models.py:186:23: SIM910 Use `asset_data.get("activeOriginalFocusPoint")` instead of `asset_data.get("activeOriginalFocusPoint", None)`
|
Ruff (SIM910):
src/wagtail_bynder/models.py#L360
wagtail_bynder/models.py:360:36: SIM910 Use `derivatives.get(fallback_derivative_name)` instead of `derivatives.get(fallback_derivative_name, None)`
|
Ruff (UP038):
src/wagtail_bynder/wagtail_hooks.py#L47
wagtail_bynder/wagtail_hooks.py:47:20: UP038 Use `X | Y` in `isinstance` call instead of `(X, Y)`
|
ruff
Process completed with exit code 1.
|