Skip to content

Adding type hints to the code #1539

Closed
Closed
@XDRAGON2002

Description

@XDRAGON2002

Although static declarations are present in the codebase, it is not uniform throughout.
This issue aims to get the entire project typed, so as to allow mypy enforcement in the future.
I believe working on this issue will help anyone trying to familiarize themselves to the project structure (also helps with easy and friendly PRs)

cve_bin_tool/version_signature.py
cve_bin_tool/version_scanner.py
cve_bin_tool/util.py
cve_bin_tool/cvedb.py
cve_bin_tool/csv2cve.py
cve_bin_tool/file.py
cve_bin_tool/strings.py

These are some of the places which would serve as good starting points.
Also there might be more places where typing needs to be added, that I might have missed here, feel free to open a PR for them as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions