Skip to content

chore: remove redundant :type annotations from docstrings#196

Open
Rotzbua wants to merge 1 commit intoweb-push-libs:mainfrom
Rotzbua:update_doc
Open

chore: remove redundant :type annotations from docstrings#196
Rotzbua wants to merge 1 commit intoweb-push-libs:mainfrom
Rotzbua:update_doc

Conversation

@Rotzbua
Copy link
Contributor

@Rotzbua Rotzbua commented Feb 8, 2026

Description

Remove redundant :type annotations from docstrings which are already defined in function.
Kept all mismatches for potential future fixes.

Testing

Run test.

Issue(s)

related to #27

Kept all mismatches for potential future fixes.
Copilot AI review requested due to automatic review settings February 8, 2026 15:04
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

Removes redundant :type ...: fields from docstrings in pywebpush/__init__.py, relying more on function annotations for parameter typing (per issue #27).

Changes:

  • Removed multiple :type docstring entries for parameters already typed in function signatures.
  • Kept some :type entries where they appear to be mismatched or carry extra semantics (per PR description).

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

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.

1 participant