Skip to content

Commit 54aa0f2

Browse files
committed
Fix flake8 linting errors
- Split long docstring example line to stay under 88 character limit - Remove unused global _jwt_cache declaration in generate_jwt method 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Andres Tobon <[email protected]>
1 parent da8b059 commit 54aa0f2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

playbooks/v1_meetings/umbrella_board_meeting/board_meeting.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ buf_board_past_meeting_{{ past_meeting_index }}_create:
278278
uuid: "{{ session_uuid }}"
279279
start_time: "{{ occurrence_actual_start.isoformat() }}Z"
280280
recording_enabled: true
281-
meeting_and_occurrence_id: {{ meeting_id }}-{{ occurrence_id }}"
281+
meeting_and_occurrence_id: "{{ meeting_id }}-{{ occurrence_id }}"
282282
duration: "{{ meeting_duration }}"
283283
meeting_id: "{{ meeting_id }}"
284284
recording_access: public
@@ -292,7 +292,7 @@ buf_board_past_meeting_{{ past_meeting_index }}_create:
292292
# Note, proj_id (sfid) in the source data will have been stripped by
293293
# lfx-v1-sync-helper. We'll still keep project_slug, though.
294294
project_uid: !ref "buf_board_meeting_project_lookup.steps[0]._response"
295-
modified_at: {{ occurrence_modified.isoformat() }}Z"
295+
modified_at: "{{ occurrence_modified.isoformat() }}Z"
296296
timezone: !ref buf_board_meeting_create.steps[0].json.data.timezone
297297
ai_summary_access: public
298298
# TODO ... what is this? (it didn't necesesarily match recurrence.type in my test data)

src/lfx_v2_mockdata/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ class JWTGenerator(yaml.YAMLObject):
238238
Arguments are passed as key=value pairs separated by commas.
239239
240240
Example:
241-
!jwt aud=lfx-v2-project-service,principal=clients@m2m_helper,[email protected]
241+
!jwt aud=lfx-v2-project-service,principal=clients@m2m_helper,\\
242+
242243
"""
243244

244245
def __init__(self, args_string):
@@ -268,8 +269,6 @@ def _parse_args(self, args_string: str) -> dict[str, str]:
268269

269270
def generate_jwt(self) -> str:
270271
"""Generate a JWT token based on the provided arguments."""
271-
global _jwt_cache
272-
273272
cli_args = args.get()
274273

275274
# Check if we have the RSA secret.

0 commit comments

Comments
 (0)