-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
🧹 refurb cleanup + one typo #152
Conversation
Hi @jayceslesar! Really cool repo! Had not heard from it yet! Based on these statistics, What would be the main advantage of porting these annotations @jayceslesar? I will review your code somewhere this week! And of course, |
plotly_resampler/figure_resampler/figure_resampler_interface.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Certainly an improvement of the code quality! 👏🏼
Can you give some feedback @jvdd?
I guess I am biased that the new annotations are really just nicer to look at haha, but I see your points, no reason to not support older versions if they are still being widely used And cheers! Happy holidays |
plotly_resampler/figure_resampler/figure_resampler_interface.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Applied some minor changes myself :)
Codecov Report
@@ Coverage Diff @@
## main #152 +/- ##
==========================================
+ Coverage 97.08% 97.30% +0.22%
==========================================
Files 12 12
Lines 892 891 -1
==========================================
+ Hits 866 867 +1
+ Misses 26 24 -2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I think merging this PR will make you (@jayceslesar) the first contributor besides @jonasvdd & me to make improvements to the Python code 🎉 🥂 And ofc happy holidays!! 🎅 🎆 |
Thanks a lot @jayceslesar! I'll merge this one! |
Used the python library refurb against this repo and added most of the suggested changes.
Feel free to counteract any!
I think good future work will be dropping support for anything lower than python 3.9 as well and porting all annotations to future syntax in terms of codebase wide changes.