You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SonarCloud cleanup:
- S1313 in test_pii_scanner: NOSONAR moved from preceding-line comment
onto the redact_text call line and the assertNotIn line.
- S5042 in driver_pin: NOSONAR anchored on the ``with tarfile.open(...)``
line instead of the helper docstring above it.
- S5131 in har_replay: NOSONAR anchored on the ``self.wfile.write(payload)``
line so SonarCloud sees the suppression at the violation site (the
payload is already strip-sanitised by ``_safe_echo``).
- S5869 in md_authoring: combined the suppression onto the same line as
``_TEMPLATE_RE``.
- S7504 in bidi_backend.unsubscribe_all: hoist the list() snapshot into a
named ``snapshot`` local with the NOSONAR anchored on that line so the
marker isn't on a comment.
Cognitive complexity refactors (S3776):
- fanout.run_fan_out: split task parsing into _parse_tasks and result
collection into _collect_results.
- browser_pool.checkout: extract _acquire_session that linearises the
get_nowait → grow → wait branches.
- visual_review do_GET: move the /img/* handler into _serve_image.
- a11y_trend.aggregate_history: split per-entry / per-violation logic
into _absorb_entry / _count_violation.
- storybook.visual_snapshots.capture_story_snapshots: move the per-story
capture+compare body into _snapshot_story.
- examples/counting_stars.py main: split into _force_play /
_await_ad_clear / _wait_out_unskippable_ad / _navigate_and_play.
Tests still 1230 green.
0 commit comments