rbanffy / pip-chill

A more relaxed `pip freeze`
Other
555 stars 25 forks source link

Sourcery refactored develop branch #28

Closed sourcery-ai[bot] closed 3 years ago

sourcery-ai[bot] commented 3 years ago

Branch develop 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 develop branch, then run:

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

Sourcery Code Quality Report

✅  Merging this PR will increase code quality in the affected files by 1.08%.

Quality metrics Before After Change
Complexity 3.44 ⭐ 3.00 ⭐ -0.44 👍
Method Length 30.89 ⭐ 30.22 ⭐ -0.67 👍
Working memory 5.56 ⭐ 5.33 ⭐ -0.23 👍
Quality 86.33% 87.41% 1.08% 👍
Other metrics Before After Change
Lines 75 75 0
Changed files Quality Before Quality After Quality Change
pip_chill/pip_chill.py 86.33% ⭐ 87.41% ⭐ 1.08% 👍

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

File Function Complexity Length Working Memory Quality Recommendation
pip_chill/pip_chill.py chill 21 😞 129 😞 8 🙂 50.95% 🙂 Refactor to reduce nesting. Try splitting into smaller methods

Legend and Explanation

The emojis denote the absolute quality of the code:

The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.


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.