Skip to content

Add explicit Logger type annotation for LOGGER#5780

Open
Anand-Krishnan-PK wants to merge 1 commit into
ossf:mainfrom
Anand-Krishnan-PK:patch-1
Open

Add explicit Logger type annotation for LOGGER#5780
Anand-Krishnan-PK wants to merge 1 commit into
ossf:mainfrom
Anand-Krishnan-PK:patch-1

Conversation

@Anand-Krishnan-PK

Copy link
Copy Markdown

This change adds an explicit Logger type annotation to LOGGER in cve_bin_tool/log.py.

Based on the discussion in #2870, this aims to improve static type checking by making the type of the shared logger instance explicit.

Add an explicit Logger type annotation to LOGGER in cve_bin_tool.log to improve type checking and address the discussion in ossf#2870.

Signed-off-by: Anand Krishnan PK <anandkrishnanpk20031@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.

1 participant