MongoEngine / flask-mongoengine

MongoEngine flask extension with WTF model forms support
Other
840 stars 255 forks source link

Fix #512 #516

Open efrederickson opened 2 years ago

efrederickson commented 2 years ago

Apply the fix suggested in #512

sourcery-ai[bot] commented 2 years ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 2.73 ⭐ 2.73 ⭐ 0.00
Method Length 48.29 ⭐ 48.57 ⭐ 0.28 👎
Working memory 4.11 ⭐ 4.11 ⭐ 0.00
Quality 87.31% 87.25% -0.06% 👎
Other metrics Before After Change
Lines 102 102 0
Changed files Quality Before Quality After Quality Change
flask_mongoengine/json.py 87.31% ⭐ 87.25% ⭐ -0.06% 👎

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:

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!