Skip to content

Commit

Permalink
Update formatting with new version of Black (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Feb 1, 2023
1 parent 0158cdb commit b3bda16
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion resultsdb/messaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ class FedmsgPlugin(MessagingPlugin):
"""A fedmsg plugin, used to publish to the fedmsg bus."""

def publish(self, message):

try:
msg = Message(topic="{}.result.new".format(self.modname), body=message)
publish(msg)
Expand Down
4 changes: 0 additions & 4 deletions resultsdb/models/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class GroupsToResults(db.Model):


class Group(db.Model, DBSerialize):

id = db.Column(db.Integer, primary_key=True)
uuid = db.Column(db.String(36), unique=True)
description = db.Column(db.Text)
Expand All @@ -80,7 +79,6 @@ def __init__(self, uuid=None, ref_url=None, description=None):


class Testcase(db.Model, DBSerialize):

id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.Text, unique=True)
ref_url = db.Column(db.Text)
Expand All @@ -99,7 +97,6 @@ def __init__(self, name, ref_url=None):


class Result(db.Model, DBSerialize):

id = db.Column(db.Integer, primary_key=True)
testcase_name = db.Column(db.Text, db.ForeignKey("testcase.name"))

Expand Down Expand Up @@ -135,7 +132,6 @@ def __init__(self, testcase, outcome, groups=None, ref_url=None, note=None, subm


class ResultData(db.Model, DBSerialize):

id = db.Column(db.Integer, primary_key=True)
result_id = db.Column(db.Integer, db.ForeignKey("result.id"))

Expand Down

0 comments on commit b3bda16

Please sign in to comment.