supabase-py
supabase-py copied to clipboard
Add functions
TODO:
- [ ] Update dep/lock file
- [ ] Add/update tests
Sourcery Code Quality Report
❌ Merging this PR will decrease code quality in the affected files by 11.84%.
| Quality metrics | Before | After | Change |
|---|---|---|---|
| Complexity | 0.82 ⭐ | 2.05 ⭐ | 1.23 👎 |
| Method Length | 33.08 ⭐ | 43.00 ⭐ | 9.92 👎 |
| Working memory | 5.87 ⭐ | 9.68 🙂 | 3.81 👎 |
| Quality | 81.77% ⭐ | 69.93% 🙂 | -11.84% 👎 |
| Other metrics | Before | After | Change |
|---|---|---|---|
| Lines | 172 | 173 | 1 |
| Changed files | Quality Before | Quality After | Quality Change |
|---|---|---|---|
| supabase/client.py | 79.11% ⭐ | 69.93% 🙂 | -9.18% 👎 |
Here are some functions in these files that still need a tune-up:
| File | Function | Complexity | Length | Working Memory | Quality | Recommendation |
|---|---|---|---|---|---|---|
| supabase/client.py | Client.__init__ | 4 ⭐ | 193 😞 | 15 😞 | 47.09% 😞 | Try splitting into smaller methods. 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!
Codecov Report
Base: 81.06% // Head: 82.26% // Increases project coverage by +1.20% :tada:
Coverage data is based on head (
47ac882) compared to base (0fdb70d). Patch coverage: 100.00% of modified lines in pull request are covered.
Additional details and impacted files
@@ Coverage Diff @@
## develop #179 +/- ##
===========================================
+ Coverage 81.06% 82.26% +1.20%
===========================================
Files 8 8
Lines 132 141 +9
===========================================
+ Hits 107 116 +9
Misses 25 25
| Impacted Files | Coverage Δ | |
|---|---|---|
| supabase/client.py | 92.45% <100.00%> (+1.54%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.