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

First-pass conversion to classes #2

Merged
merged 4 commits into from
Nov 7, 2023
Merged

Conversation

ZedThree
Copy link
Member

@ZedThree ZedThree commented Jul 6, 2023

Rough first pass at converting functions to classes. Free functions make more sense as interface, but using classes means we can do static type checking. These might be better as properties to make them read-only

Copy link
Contributor

@LiamPattinson LiamPattinson left a comment

Choose a reason for hiding this comment

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

All looks good to me!

@ZedThree
Copy link
Member Author

ZedThree commented Nov 7, 2023

Rebased onto main and now mypy clean

Copy link

codecov bot commented Nov 7, 2023

Codecov Report

Merging #2 (a434a78) into main (059f127) will decrease coverage by 1.29%.
The diff coverage is 90.56%.

@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
- Coverage   92.53%   91.25%   -1.29%     
==========================================
  Files           2        2              
  Lines          67       80      +13     
==========================================
+ Hits           62       73      +11     
- Misses          5        7       +2     
Files Coverage Δ
src/pyloidal/cocos.py 90.78% <90.56%> (-1.28%) ⬇️

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@LiamPattinson LiamPattinson merged commit 8c2a2b6 into main Nov 7, 2023
12 of 14 checks passed
@LiamPattinson LiamPattinson deleted the convert-to-classes branch November 7, 2023 16:53
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