Skip to content
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

Improve docstrings and remove implicit imports #227

Merged
merged 2 commits into from
May 18, 2024
Merged

Conversation

JamesWrigley
Copy link
Member

The bulk of the code removes the duplicate docstrings I added in #216 and properly assigns them using @doc so we can use them in the docs. I also took the opportunity to remove some implicit imports found by ExplicitImports.jl.

@JamesWrigley JamesWrigley self-assigned this May 15, 2024
@codecov-commenter
Copy link

codecov-commenter commented May 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.17%. Comparing base (9ec590e) to head (20531b3).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #227   +/-   ##
=======================================
  Coverage   78.17%   78.17%           
=======================================
  Files           9        9           
  Lines         362      362           
=======================================
  Hits          283      283           
  Misses         79       79           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This properly fixes the issue with inner constructor docstrings not being
displayed in the docs. Previously they were copied into the main
`Socket`/`Message` type docstrings, but with `@doc` they're now recognized.

Also added compat warnings for deprecated socket types.
Detected by ExplicitImports.jl.
@JamesWrigley JamesWrigley merged commit 03cf2c1 into master May 18, 2024
6 checks passed
@JamesWrigley JamesWrigley deleted the docstrings branch May 18, 2024 21:39
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