Skip to content

add api call to delete an attribute from an html element #237

add api call to delete an attribute from an html element

add api call to delete an attribute from an html element #237

Triggered via pull request August 8, 2023 14:06
@sebag90sebag90
opened #269
Status Failure
Total duration 26s
Artifacts

lint.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
slurk/views/api/rooms.py#L255
Expected 2 blank lines, found 1 (E302)
Flake8
Linting failures detected. See check runs with annotations for details.
/home/runner/work/slurk/slurk/slurk/views/api/rooms.py#L250
receiver, target = get_receiver_target(receiver_id, str(room.id)) Log.add("delete_attribute", room=room, receiver=receiver, data=kwargs) socketio.emit("remove_attribute", kwargs, room=target) return kwargs + @blp.route("/<int:room_id>/attribute/class/<string:cls>") class AttributeClass(MethodView): @blp.query("room", RoomSchema, check_etag=False) @blp.arguments(AttributeSchema, as_kwargs=True) @blp.response(204)
Flake8
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Black
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/