django-pure-pagination icon indicating copy to clipboard operation
django-pure-pagination copied to clipboard

Fix deprecated import

Open lucasmoeskops opened this issue 2 years ago • 1 comments

lucasmoeskops avatar Jul 19 '22 13:07 lucasmoeskops

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 5.56 ⭐ 5.56 ⭐ 0.00
Method Length 36.87 ⭐ 36.83 ⭐ -0.04 👍
Working memory 5.53 ⭐ 5.53 ⭐ 0.00
Quality 79.09% 79.11% 0.02% 👍
Other metrics Before After Change
Lines 227 227 0
Changed files Quality Before Quality After Quality Change
setup.py 63.36% 🙂 63.36% 🙂 0.00%
pure_pagination/paginator.py 79.60% ⭐ 79.62% ⭐ 0.02% 👍

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

File Function Complexity Length Working Memory Quality Recommendation
pure_pagination/paginator.py Page.pages 13 🙂 140 😞 8 🙂 55.90% 🙂 Try splitting into smaller methods

Legend and Explanation

The emojis denote the absolute quality of the code:

  • ⭐ excellent
  • 🙂 good
  • 😞 poor
  • ⛔ very poor

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!

Help us improve this quality report!

sourcery-ai[bot] avatar Jul 19 '22 13:07 sourcery-ai[bot]