jettify / pytorch-optimizer

torch-optimizer -- collection of optimizers for Pytorch
Apache License 2.0
3.04k stars 299 forks source link

Reformat codebase with more default black. #506

Closed jettify closed 1 year ago

codecov-commenter commented 1 year ago

Codecov Report

Merging #506 (ffa3ffb) into master (910b414) will not change coverage. The diff coverage is 86.33%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##           master     #506   +/-   ##
=======================================
  Coverage   83.52%   83.52%           
=======================================
  Files          27       27           
  Lines        1718     1718           
  Branches      418      391   -27     
=======================================
  Hits         1435     1435           
  Misses        165      165           
  Partials      118      118           
Impacted Files Coverage Δ
torch_optimizer/__init__.py 89.18% <50.00%> (ø)
torch_optimizer/adabelief.py 70.12% <69.23%> (ø)
torch_optimizer/swats.py 73.17% <72.41%> (ø)
torch_optimizer/sgdp.py 84.21% <73.33%> (ø)
torch_optimizer/shampoo.py 86.36% <76.47%> (ø)
torch_optimizer/aggmo.py 81.25% <78.57%> (ø)
torch_optimizer/qhm.py 76.74% <80.00%> (ø)
torch_optimizer/apollo.py 79.66% <80.95%> (ø)
torch_optimizer/adabound.py 81.69% <82.60%> (ø)
torch_optimizer/lamb.py 83.33% <85.00%> (ø)
... and 16 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more