Skip to content

Conversation

@nsheff
Copy link
Contributor

@nsheff nsheff commented Nov 5, 2025

No description provided.

- Updated all RST-style docstrings to Google-style format
- Converted :param/:return/:raise to Args:/Returns:/Raises: sections
- utils.py: 44 parameter annotations converted
- conductor.py: 35 parameter annotations converted
…ugins.py

- exceptions.py: 1 docstring converted
- const.py: 1 docstring converted
- plugins.py: 3 docstrings converted
- All RST-style :param/:return annotations updated to Args:/Returns: format
- parser_types.py: 2 docstrings converted
- command_models/arguments.py: 1 docstring converted
- command_models/commands.py: 2 docstrings converted
- All RST-style annotations updated to Google-style format
- divvy.py: 16 docstrings converted
- looper.py: 11 docstrings converted
- pipeline_interface.py: 10 docstrings converted
- project.py: 24 docstrings converted
- processed_project.py: 5 docstrings converted
- cli_pydantic.py: 1 docstring converted
- cli_divvy.py: 1 docstring converted

All RST-style docstrings (:param/:return/:raise) have been converted to
Google-style format (Args:/Returns:/Raises:) with proper formatting and
capitalization.
@nsheff
Copy link
Contributor Author

nsheff commented Nov 5, 2025

@copilot Can you confirm that none of the meaning was changed or no incorrect hallucinations were introduced.

Copy link

Copilot AI commented Nov 5, 2025

@nsheff I've opened a new pull request, #559, to work on those changes. Once the pull request is ready, I'll request review from you.

@nsheff nsheff requested a review from Copilot November 6, 2025 00:00
Copy link

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 converts docstrings from reStructuredText (reST) format to Google-style docstrings across multiple Python files in the looper codebase. The conversion maintains the same semantic information while improving readability and following modern Python documentation standards.

Key changes:

  • Converted all function, class, and method docstrings from reST format (:param:, :return:, :raise:) to Google style (Args:, Returns:, Raises:)
  • Improved formatting consistency with proper capitalization and punctuation
  • Maintained all parameter types, descriptions, and return value documentation

Reviewed Changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
looper/utils.py Converted 20+ function docstrings from reST to Google style
looper/project.py Updated class and method docstrings throughout the Project class
looper/processed_project.py Converted docstrings for path population functions
looper/plugins.py Updated plugin function docstrings to Google style
looper/pipeline_interface.py Converted PipelineInterface class and method docstrings
looper/parser_types.py Updated argument parser type function docstrings
looper/looper.py Converted Executor subclass and helper function docstrings
looper/exceptions.py Updated exception class docstrings
looper/divvy.py Converted ComputingConfiguration class and method docstrings
looper/const.py Updated utility function docstrings
looper/conductor.py Converted SubmissionConductor and helper function docstrings
looper/command_models/commands.py Updated Command class and function docstrings
looper/command_models/arguments.py Converted Argument class docstrings
looper/cli_pydantic.py Updated CLI processing function docstrings
looper/cli_divvy.py Converted argument parser builder docstring

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

nsheff and others added 3 commits November 5, 2025 20:01
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@nsheff nsheff merged commit f91c619 into dev Nov 6, 2025
3 checks passed
@nsheff nsheff deleted the claude/update-docstrings-google-style-011CUqZANoYLk6KK1hErAwMz branch November 6, 2025 01:07
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.

3 participants