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
- Fix python:S7508 (redundant list() before sorted()) in anonymized_rollups.py,
credentials_anonymized_rollup.py, events_modules_anonymized_rollup.py,
test_jobs_anonymized_rollups.py, test_multiple_files.py, report/base.py:
Removed unnecessary list() wrapping since sorted() accepts any iterable.
- Fix python:S6353 (use \w instead of [A-Za-z0-9_]) in events_modules_anonymized_rollup.py:
Simplified regex patterns to use \w shorthand.
- Fix python:S7504 (unnecessary list() on iterable) in renewal_guidance.py:
Removed redundant list() in list comprehension iteration.
- Fix python:S7500 (replace comprehension with collection constructor) in
conftest.py and report_saver_s3.py: Simplified unnecessary comprehension wrappers.
- Fix python:S8521 (unnecessary .keys() call) in test_gathering.py and test_slicing.py:
Removed .keys() calls since dict membership testing is implicit.
- Fix python:S7519 (use dict.fromkeys) in management_utility.py: Replaced dict
comprehension with dict.fromkeys() call.
- Fix python:S7494 (use set comprehension) in main_jobevent_service.py: Replaced
set() constructor with generator with a set comprehension literal.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
0 commit comments