Skip to content

Conversation

@vroomvee
Copy link
Contributor

@vroomvee vroomvee commented Nov 3, 2024

Description:
This PR adds detailed docstrings to the available_fix/debian_cve_tracker.py file, improving readability and maintainability of the codebase. These docstrings follow Python’s standards, which help new contributors understand each function and method more effectively.

Changes Made:
Added docstrings to the following functions:
init in DebianCVETracker class
cve_info
get_data
compute_distro
check_json
update_json
Ensured each docstring includes descriptions of parameters, return types, and function behaviors.

Motivation:
Adding these docstrings aligns with #4540 and the goals of Hacktoberfest. Enhanced documentation also supports IDE-based guidance, making it easier for contributors and maintainers to navigate the codebase.

Fixes #4540

Checklist:
Ran pre-commit hooks and verified they pass.
Linting and formatting checks (Black, Flake8) pass.
Code builds successfully without errors.

Added detailed docstrings to `VEXGenerate` class, including description
for class attributes, methods, and parameters. This enhances readability
and provides clear guidance.
Added docstrings to enhance clarity and maintain code documentation
standards.
fixes intel#4540
Copy link
Contributor

@terriko terriko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for your patience with our github actions issue! I'll fix the gitlint issue during merge, but for reference here's what it was complaining about:

1: T1 Title exceeds max length (113>72): "docs(available_fix/debian_cve_tracker): Add comprehensive docstrings for improved readability and maintainability"

@terriko terriko merged commit 7d0d8c8 into intel:main Nov 12, 2024
20 of 21 checks passed
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.

docs: Add docstrings to available_fix/debian_cve_tracker.py

2 participants