Skip to content

[NEED HELP] Improve codebase documentation to 75% #232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from

Conversation

nateinaction
Copy link
Member

Story

As a university lab testing building a PROVESKIT for the first time
I want to be able to understand how to write software that interacts with PySquared
So that I can build and launch a satellite in less than a year

Summary

Documentation is a key ingredient in developing an accessible educational satellite platform. Take over this PR and help us reach 75% documentation coverage for our codebase.

How was this tested

  • Added new linter that runs during the pre-commit hook

@nateinaction nateinaction added good first issue Good for newcomers help wanted Extra attention is needed labels Apr 14, 2025
@Mikefly123 Mikefly123 requested a review from Copilot April 14, 2025 17:56
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR aims to improve the codebase’s documentation coverage to 75% by introducing tooling checks and updates.

  • Added a new [tool.interrogate] section in pyproject.toml to enforce the documentation coverage threshold.
  • Updated the pre-commit configuration to run the interrogate hook during linting.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pyproject.toml Introduces documentation coverage settings via the [tool.interrogate] configuration.
.pre-commit-config.yaml Configures the interrogate hook to run as part of the pre-commit process.
Comments suppressed due to low confidence (2)

pyproject.toml:80

  • The documentation coverage threshold is now set to 75. Please ensure that the current test suite and documentation updates provide sufficient coverage to meet this limit.
fail-under = 75

.pre-commit-config.yaml:26

  • [nitpick] Consider explicitly defining the relative or absolute path for the configuration file to ensure consistent behavior across different development environments.
args: [--config=pyproject.toml]

Copy link

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant