Skip to content

Commit

Permalink
fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyqu committed Jun 14, 2024
1 parent 32c43da commit 0514893
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ class TrelloCardColor(Enum):
BLACK = "black"
UNKNOWN = "unknown"


class BoardCardColor(Enum):
BLACK = "propColorGray"
BROWN = "propColorBrown"
Expand All @@ -99,6 +100,7 @@ class BoardCardColor(Enum):
RED = "propColorRed"
UNKNOWN = "unknown"


class TrelloListAlias(Enum):
TOPIC_SUGGESTION = "trello_list_name__topic_suggestion"
TOPIC_READY = "trello_list_name__topic_ready"
Expand Down
2 changes: 1 addition & 1 deletion src/trello/trello_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def from_focalboard_dict(cls, data):
try:
card.id = data["id"]
card.name = html.escape(data["title"])
# card.labels = [TrelloCardLabel.from_focalboard_dict(label) for label in data["labels"]]
# card.labels=[TrelloCardLabel.from_focalboard_dict(label) for label in data["labels"]]
except Exception as e:
card._ok = False
logger.error(f"Bad card json {data}: {e}")
Expand Down

0 comments on commit 0514893

Please sign in to comment.