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

Rename check to is_closed #90

Merged
merged 7 commits into from
Nov 9, 2018
Merged

Rename check to is_closed #90

merged 7 commits into from
Nov 9, 2018

Conversation

NicholasWon47
Copy link
Contributor

No description provided.

- rename method: check => is_closed
  -> clarify for return value(boolean)
- add sphinx-doc at is_closed method
- apply changed name: check -> is_closed
@coveralls
Copy link

coveralls commented Oct 31, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 75e978a on NicholasWon47:develop into 86d2a0f on WoLpH:develop.

@wolph
Copy link
Owner

wolph commented Oct 31, 2018

For the sake of backwards compatibility the check method needs to stay. But it could simply wrap the is_closed method. The idea is that multiple checks could be added over time, not just checking for closed geometries

@NicholasWon47
Copy link
Contributor Author

I understood. In that cases, the method needs some docs :)

@codecov
Copy link

codecov bot commented Oct 31, 2018

Codecov Report

Merging #90 into develop will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           develop    #90   +/-   ##
======================================
  Coverage      100%   100%           
======================================
  Files            5      5           
  Lines          490    490           
  Branches        57     57           
======================================
  Hits           490    490
Impacted Files Coverage Δ
stl/stl.py 100% <ø> (ø) ⬆️
stl/base.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86d2a0f...75e978a. Read the comment docs.

split check method into is_closed
rolled back from is_closed to check
@NicholasWon47
Copy link
Contributor Author

I simply wrapped 'is_closed' method. so you can use them in check method as a check routines.

@wolph
Copy link
Owner

wolph commented Nov 9, 2018

Looks great. Thank you :)

@wolph wolph merged commit db98f18 into wolph:develop Nov 9, 2018
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.

3 participants