Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth committed Jul 5, 2024
1 parent 5c2c126 commit fdf579d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/api-server/api_server/models/tortoise_models/rio.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import tortoise
from tortoise.fields import CharField, JSONField
from tortoise.models import Model


class Rio(tortoise.Model):
class Rio(Model):
id = CharField(max_length=255, pk=True)
type = CharField(max_length=255, index=True)
data = JSONField()
2 changes: 0 additions & 2 deletions packages/api-server/api_server/rmf_io/events.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from rx.subject.behaviorsubject import BehaviorSubject
from rx.subject.subject import Subject

import api_server.models as mdl


class RmfEvents:
def __init__(self):
Expand Down
2 changes: 0 additions & 2 deletions packages/api-server/api_server/test/test_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,6 @@ async def wait_for_msgs():

async def handle_resp(emit_room, msg, *_args, **_kwargs):
if emit_room == "subscribe" and not msg["success"]:
# FIXME
# pylint: disable=broad-exception-raised
raise Exception("Failed to subscribe", msg)
if emit_room == room:
async with condition:
Expand Down

0 comments on commit fdf579d

Please sign in to comment.