Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrong space in attachment #737

Merged
merged 1 commit into from Oct 11, 2022
Merged

fix: wrong space in attachment #737

merged 1 commit into from Oct 11, 2022

Conversation

sljeff
Copy link
Collaborator

@sljeff sljeff commented Oct 11, 2022

No description provided.

@sourcery-ai
Copy link

sourcery-ai bot commented Oct 11, 2022

Sourcery Code Quality Report

Merging this PR leaves code quality unchanged.

Quality metrics Before After Change
Complexity 1.61 ⭐ 1.61 ⭐ 0.00
Method Length 40.50 ⭐ 40.50 ⭐ 0.00
Working memory 5.75 ⭐ 5.75 ⭐ 0.00
Quality 83.11% 83.11% 0.00%
Other metrics Before After Change
Lines 610 610 0
Changed files Quality Before Quality After Quality Change
apps/sspanel/models.py 83.11% ⭐ 83.11% ⭐ 0.00%

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

File Function Complexity Length Working Memory Quality Recommendation
apps/sspanel/models.py Goods.purchase_by_user 7 ⭐ 189 😞 9 🙂 54.43% 🙂 Try splitting into smaller methods
apps/sspanel/models.py UserOrder.get_or_create_order 2 ⭐ 130 😞 9 🙂 65.23% 🙂 Try splitting into smaller methods
apps/sspanel/models.py User.get_subinfo_header 0 ⭐ 59 ⭐ 10 😞 75.06% ⭐ Extract out complex expressions

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!

@Ehco1996 Ehco1996 merged commit a1cf152 into Ehco1996:dev Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants