Skip to content

changes according copilot - #95

Merged
zaihuaji merged 1 commit into
mainfrom
hua-work-common
Mar 23, 2026
Merged

zaihuaji merged 1 commit into
mainfrom
hua-work-common

Conversation

@zaihuaji

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings March 23, 2026 15:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates inline documentation/comments in the RDA Python common utilities to correct typos and align dataset-id examples with the codebase’s preferred format.

Changes:

  • Fix typo in option-flag documentation in pg_opt.py (“setions” → “set actions”).
  • Fix typo in frequency parsing comment in pg_opt.py (“frequence” → “frequency”).
  • Update get_command_info docstring example in pg_cmd.py to use a d123000-style dataset ID.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/rda_python_common/pg_opt.py Comment/docstring typo fixes in option metadata docs and frequency parsing comment.
src/rda_python_common/pg_cmd.py Docstring example updated for dataset-id format in get_command_info.

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

# 256(0x100) - date field
#
# The fourth hash values defined retrictions for single letter values
# The fourth hash values defined restriction for single letter values

Copilot AI Mar 23, 2026

Copy link

Choose a reason for hiding this comment

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

This comment still has grammatical/spelling issues: "values" should agree with the verb, and the meaning appears to be plural ("restrictions"). Consider rephrasing to something like "The fourth hash value defines restrictions for single-letter values".

Suggested change
# The fourth hash values defined restriction for single letter values
# The fourth hash value defines restrictions for single-letter values.

Copilot uses AI. Check for mistakes.
@zaihuaji
zaihuaji merged commit a91072c into main Mar 23, 2026
5 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.

2 participants