flask-api-tutorial icon indicating copy to clipboard operation
flask-api-tutorial copied to clipboard

fix: casting to int for status 200

Open Abdur-rahmaanJ opened this issue 3 years ago • 1 comments

Abdur-rahmaanJ avatar Mar 06 '22 10:03 Abdur-rahmaanJ

Sourcery Code Quality Report

❌  Merging this PR will decrease code quality in the affected files by 0.08%.

Quality metrics Before After Change
Complexity 0.00 ⭐ 0.00 ⭐ 0.00
Method Length 45.83 ⭐ 46.17 ⭐ 0.34 👎
Working memory 7.25 🙂 7.25 🙂 0.00
Quality 82.97% 82.89% -0.08% 👎
Other metrics Before After Change
Lines 66 66 0
Changed files Quality Before Quality After Quality Change
src/flask_api_tutorial/api/widgets/endpoints.py 82.97% ⭐ 82.89% ⭐ -0.08% 👎

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

File Function Complexity Length Working Memory Quality Recommendation

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 Mar 06 '22 10:03 sourcery-ai[bot]