This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Find all Java files in the current directory and its subdirectories | |
find . -name '*.java' -type f | while read file; do | |
# Format the Java file using google-java-format | |
google-java-format -i "$file" | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
import boto3 | |
import json | |
import decimal | |
from botocore.exceptions import ClientError | |
logger = logging.getLogger() | |
# Format outputs | |
class DecimalEncoder(json.JSONEncoder): |