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

add via_yoffset to via_chain #2678

Merged
merged 4 commits into from
Apr 15, 2024
Merged

add via_yoffset to via_chain #2678

merged 4 commits into from
Apr 15, 2024

Conversation

joamatab
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the enhancement New feature or request label Apr 15, 2024
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @joamatab - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 1 issue found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Docstrings: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

@@ -22,6 +22,7 @@ def via_chain(
via_min_enclosure: float = 1.0,
min_metal_spacing: float = 1.0,
via_xoffset: float = 0.0,
via_yoffset: float = 0.0,
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion (code_clarification): Consider documenting the new parameter 'via_yoffset'.

Adding a brief description of 'via_yoffset' in the function's docstring would help maintainers and users understand its purpose and usage.

Suggested change
via_yoffset: float = 0.0,
via_yoffset: float = 0.0,
"""Via chain to extract via resistance.
Args:
via_yoffset (float): The vertical offset for the via placement from a reference point.
"""

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Apr 15, 2024
Copy link

codecov bot commented Apr 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.78%. Comparing base (168b3d9) to head (53c779e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2678   +/-   ##
=======================================
  Coverage   71.78%   71.78%           
=======================================
  Files         366      366           
  Lines       23755    23755           
  Branches     3873     3873           
=======================================
  Hits        17052    17052           
  Misses       5578     5578           
  Partials     1125     1125           

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

@joamatab joamatab merged commit 17422e0 into main Apr 15, 2024
9 checks passed
@joamatab joamatab deleted the add_via_chain_yoffset branch April 15, 2024 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant