rbanffy / pip-chill

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

Version 1.0.1 #40

Closed rbanffy closed 3 years ago

sourcery-ai[bot] commented 3 years ago

Sourcery Code Quality Report

Merging this PR leaves code quality unchanged.

Quality metrics Before After Change
Complexity 4.56 ⭐ 4.56 ⭐ 0.00
Method Length 32.10 ⭐ 32.10 ⭐ 0.00
Working memory 6.43 🙂 6.43 🙂 0.00
Quality 79.96% 79.96% 0.00%
Other metrics Before After Change
Lines 273 273 0
Changed files Quality Before Quality After Quality Change
pip_chill/cli.py 65.16% 🙂 65.16% 🙂 0.00%
pip_chill/pip_chill.py 69.67% 🙂 69.67% 🙂 0.00%
tests/test_pip_chill.py 87.48% ⭐ 87.48% ⭐ 0.00%

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 22 😞 138 😞 8 🙂 49.23% 😞 Refactor to reduce nesting. Try splitting into smaller methods
tests/test_pip_chill.py TestPip_chill.test_pip_ommitted.test_all.test_hashes.test_command_line_interface_omits_ignored 1 ⭐ 52 ⭐ 10 😞 75.17% ⭐ Extract out complex expressions

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.