sepandhaghighi / pycm

Multi-class confusion matrix library in Python
http://pycm.io
MIT License
1.45k stars 124 forks source link

Code style Update #486

Closed sadrasabouri closed 1 year ago

sadrasabouri commented 1 year ago

What does this implement/fix? Explain your changes.

This PR is a trial for enhancing the repositories' code style. Below is provided some overall changes:

Note: This might look like a huge PR, but reviewing it will take no time since it's all style-related.

codecov-commenter commented 1 year ago

Codecov Report

Merging #486 (9730334) into dev (b1bcd64) will decrease coverage by 0.03%. The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##              dev     #486      +/-   ##
==========================================
- Coverage   99.33%   99.30%   -0.03%     
==========================================
  Files          13       13              
  Lines        3105     2970     -135     
  Branches      447      439       -8     
==========================================
- Hits         3084     2949     -135     
  Misses          8        8              
  Partials       13       13              
Impacted Files Coverage Δ
pycm/pycm_compare.py 100.00% <ø> (ø)
pycm/pycm_curve.py 97.03% <ø> (ø)
pycm/pycm_interpret.py 98.71% <ø> (-0.10%) :arrow_down:
pycm/pycm_overall_func.py 100.00% <ø> (ø)
pycm/pycm_class_func.py 100.00% <100.00%> (ø)
pycm/pycm_handler.py 100.00% <100.00%> (ø)
pycm/pycm_obj.py 98.86% <100.00%> (-0.02%) :arrow_down:
pycm/pycm_param.py 100.00% <100.00%> (ø)
pycm/pycm_util.py 99.69% <100.00%> (+0.01%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.