MongoEngine / flask-mongoengine

MongoEngine flask extension with WTF model forms support
Other
842 stars 254 forks source link

Changed: Flask-Mongoengine will set uuidRepresentation=standard if not specified in other configuration #506

Closed insspb closed 2 years ago

sourcery-ai[bot] commented 2 years ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 1.10 ⭐ 1.13 ⭐ 0.03 👎
Method Length 49.79 ⭐ 51.86 ⭐ 2.07 👎
Working memory 5.03 ⭐ 5.03 ⭐ 0.00
Quality 85.05% 84.50% -0.55% 👎
Other metrics Before After Change
Lines 222 240 18
Changed files Quality Before Quality After Quality Change
flask_mongoengine/connection.py 81.79% ⭐ 81.49% ⭐ -0.30% 👎
tests/conftest.py 87.83% ⭐ 87.40% ⭐ -0.43% 👎
tests/test_json.py 85.04% ⭐ 83.97% ⭐ -1.07% 👎

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!