-
Notifications
You must be signed in to change notification settings - Fork 0
Fix formatting #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix formatting #27
Conversation
…currency-addresses into fix/formatting
|
[puLL-Merge] - brave-intl/ofac-sanctioned-digital-currency-addresses@27 DescriptionThis PR is a significant code quality and tooling improvement to the OFAC sanctioned digital currency addresses repository. The changes focus on:
Possible Issues
f"{total_actions} ({(
created_count + removed_count + error_count
) / total_actions * 100:.1f}%)"Security Hotspots
if os.getenv("GITHUB_ACTOR") not in ["mrose17", "Sneagan", "mschfh"]:This hardcoded whitelist for bypassing the 15% deletion safety check relies on an environment variable that could be spoofed in some execution contexts. Consider using GitHub's OIDC tokens or signed commits for authentication instead.
s3_client.upload_fileobj(Fileobj=empty_file, Bucket=bucket, Key=object_key)No server-side encryption parameters are specified. While the objects are empty, consider adding Privacy HotspotsNone identified. The code handles publicly available sanctions data and doesn't process PII. ChangesChanges
|
mrose17
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow! Well, i've had to do this a few times as well... as long as the tests produce the same results before & after, it's good to go!
The project has old and non-standard formatting. Fix this.