littlepea / django-editor

Allows pluggable WYSIWYG editors in django admin without hard dependencies
3 stars 2 forks source link

Sourcery refactored master branch #5

Closed sourcery-ai[bot] closed 4 years ago

sourcery-ai[bot] commented 4 years ago

Branch master refactored by Sourcery.

If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

See our documentation here.

Run Sourcery locally

Reduce the feedback loop during development by using the Sourcery editor plugin:

Review changes via command line

To manually merge these changes, make sure you're on the master branch, then run:

git fetch origin sourcery/master
git merge --ff-only FETCH_HEAD
git reset HEAD^
sourcery-ai[bot] commented 4 years ago

Sourcery Code Quality Report (beta)

✅ Merging this PR will increase code quality in the affected files by 0.02 out of 10.

Before After Change
Quality 9.09 9.11 0.02
Complexity 0.9 0.8 -0.1
Method Length 34.38 34.08 -0.3
Lines 93 89 -4
Changed files Quality Before Quality After Quality Change
bootstrap.py 8.72 8.76 0.04 ⬆️
editor/tests.py 9.25 9.26 0.0 ⬆️

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 via email or our Gitter!