Rockhopper-Technologies / enlighten

Enlighten Progress Bar for Python Console Apps
https://python-enlighten.readthedocs.io
Mozilla Public License 2.0
416 stars 25 forks source link

Sourcery refactored master branch #30

Closed sourcery-ai[bot] closed 4 years ago

sourcery-ai[bot] commented 4 years ago

Branch master refactored by Sourcery.

If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

See our documentation here.

Run Sourcery locally

Reduce the feedback loop during development by using the Sourcery editor plugin:

Review changes via command line

To manually merge these changes, make sure you're on the master branch, then run:

git fetch origin sourcery/master
git merge --ff-only FETCH_HEAD
git reset HEAD^
sourcery-ai[bot] commented 4 years ago

Sourcery Code Quality Report (beta)

βœ…  Merging this PR will increase code quality in the affected files by 0.03 out of 10.

Quality metrics Before After Change
Complexity 0.57 0.43 -0.14 πŸ”΅
Method Length 31.41 30.98 -0.43 πŸ”΅
Quality 9.17 9.20 0.03 πŸ”΅
Other metrics Before After Change
Lines 62 59 -3
Changed files Quality Before Quality After Quality Change
examples/ftp_downloader.py 9.17 9.20 0.03 πŸ”΅

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Overall Recommendation

Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Let us know what you think of it by mentioning @sourcery-ai in a comment.

codecov[bot] commented 4 years ago

Codecov Report

Merging #30 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #30   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          626       626           
  Branches       114       114           
=========================================
  Hits           626       626           

Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update 2a5d0e6...828223e. Read the comment docs.