Skip to content

Commit

Permalink
fix: fix linting for test_otlp_trace_exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy2008 committed Aug 16, 2024
1 parent d0f48d4 commit 89376ec
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ def get_resource_data(

def _read_file(file_path: Optional[str]) -> Optional[bytes]:
if file_path is None:
logger.error("No file path provided for reading. Please check the environment variables.")
logger.error(
"No file path provided for reading. Please check the environment variables."
)
return None

try:
Expand All @@ -134,6 +136,7 @@ def _read_file(file_path: Optional[str]) -> Optional[bytes]:
)
return None


def _load_credentials(
certificate_file: str,
client_key_file: str,
Expand Down

0 comments on commit 89376ec

Please sign in to comment.