Skip to content

Fix LOGGER type issue in log.py#5666

Open
saqlain2109 wants to merge 1 commit intoossf:mainfrom
saqlain2109:patch-1
Open

Fix LOGGER type issue in log.py#5666
saqlain2109 wants to merge 1 commit intoossf:mainfrom
saqlain2109:patch-1

Conversation

@saqlain2109
Copy link
Copy Markdown

This PR fixes the LOGGER type issue in log.py by explicitly defining its type as logging.Logger.

Previously, LOGGER did not have a defined type, which caused issues with type checking tools like mypy. This change ensures better type safety and resolves the issue.

Changes Made

  • Added explicit type annotation for LOGGER
  • Ensured compatibility with logging.Logger

Related Issue

Fixes #2870

This PR fixes the LOGGER type issue in log.py by explicitly defining its type as logging.Logger.
 
Fixes ossf#2870

Signed-off-by: saqlain2109 <usesaqlain05@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"cve_bin_tool.log.LOGGER is not a valid type"

1 participant