Metron-Project / metron

Django website for a comic book database
https://metron.cloud/
GNU General Public License v3.0
90 stars 7 forks source link

Use template tag for newly added issues #44

Closed bpepple closed 4 years ago

bpepple commented 4 years ago

Drop the Issue model property Is_past_created()

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.

Quality metrics Before After Change
Complexity 0.03 0.03 0.00
Method Length 13.53 12.82 -0.71 🔵
Quality 9.66 9.68 0.02 🔵
Other metrics Before After Change
Lines 90 82 -8
Changed files Quality Before Quality After Quality Change
comicsdb/models.py 9.66 9.68 0.02 🔵

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

File Function Complexity Length Overall Recommendation

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 by mentioning @sourcery-ai in a comment.