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

CLN: Add typing to roff_grid #949

Merged
merged 1 commit into from
Nov 1, 2023
Merged

CLN: Add typing to roff_grid #949

merged 1 commit into from
Nov 1, 2023

Conversation

janbjorge
Copy link
Contributor

@janbjorge janbjorge commented Oct 30, 2023

Resolves #895

Me and @ErichSuter worked on this together, we looked at the doc. strings, to the best of our knowledge they look right. But an extra pair of eyes wound not hurt.

Copy link
Collaborator

@mferrera mferrera left a comment

Choose a reason for hiding this comment

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

Looks great to me, just the Python 3.8 mypy considers and our quick chat about landing on a unified docstring format for consistency

src/xtgeo/grid3d/_roff_grid.py Outdated Show resolved Hide resolved
src/xtgeo/grid3d/_roff_grid.py Outdated Show resolved Hide resolved
src/xtgeo/grid3d/_roff_grid.py Outdated Show resolved Hide resolved
src/xtgeo/grid3d/_roff_grid.py Show resolved Hide resolved
@janbjorge janbjorge requested a review from mferrera October 31, 2023 10:08
Copy link
Collaborator

@mferrera mferrera left a comment

Choose a reason for hiding this comment

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

👍

@codecov-commenter
Copy link

codecov-commenter commented Nov 1, 2023

Codecov Report

Merging #949 (a5db42b) into main (8ddc8b3) will decrease coverage by 0.01%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##             main     #949      +/-   ##
==========================================
- Coverage   80.58%   80.57%   -0.01%     
==========================================
  Files          91       91              
  Lines       13481    13488       +7     
  Branches     2223     2224       +1     
==========================================
+ Hits        10863    10868       +5     
- Misses       1898     1899       +1     
- Partials      720      721       +1     
Files Coverage Δ
src/xtgeo/grid3d/_roff_grid.py 83.22% <91.66%> (-0.56%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@janbjorge janbjorge merged commit 69d8caa into equinor:main Nov 1, 2023
26 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.

Add type annotations to RoffGrid
4 participants