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

Enhancement: Remove statistics.py module and clean up const.py #317

Merged
merged 4 commits into from
Feb 13, 2024

Conversation

CM000n
Copy link
Collaborator

@CM000n CM000n commented Jan 26, 2024

Just a tiny little improvement I've just stumbled across.
We should use == instead of is to compare str types in stastics.py.

..::edit::..
Silly question, but is the stastics.py module still used anywhere? 😆
Looks like this is a remnant and could be deleted completely?

Copy link

codecov bot commented Jan 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1a17a62) 80.11% compared to head (456b224) 82.86%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #317      +/-   ##
==========================================
+ Coverage   80.11%   82.86%   +2.75%     
==========================================
  Files          32       31       -1     
  Lines        1514     1436      -78     
==========================================
- Hits         1213     1190      -23     
+ Misses        301      246      -55     
Flag Coverage Δ
unittests 82.86% <ø> (+2.75%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@CM000n CM000n changed the title Enhancement: Use == to compare str in statistcs Enhancement: Remove statistics.py module and clean up const.py Jan 26, 2024
@CM000n
Copy link
Collaborator Author

CM000n commented Feb 13, 2024

Can you please take a look at it and approve it, if the changes okay for you @GitOldGrumpy?

@CM000n CM000n merged commit 7ebe865 into master Feb 13, 2024
21 checks passed
@CM000n CM000n deleted the enhancement/use_equal_signs_to_compare_str branch February 13, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants