Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

feat: add create user param to sign in - #75

Merged
leynier merged 4 commits into
mainfrom
feat/add-create-user-param-to-sign-in
Jan 20, 2022
Merged

leynier merged 4 commits into
mainfrom
feat/add-create-user-param-to-sign-in

Conversation

@leynier

@leynier leynier commented Jan 20, 2022

Copy link
Copy Markdown
Contributor

@codecov

codecov Bot commented Jan 20, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #75 (de25267) into main (c6d4d09) will increase coverage by 0.07%.
The diff coverage is 63.15%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
+ Coverage   84.19%   84.26%   +0.07%     
==========================================
  Files          14       14              
  Lines        1050     1042       -8     
==========================================
- Hits          884      878       -6     
+ Misses        166      164       -2     
Impacted Files Coverage Δ
gotrue/_async/client.py 89.36% <62.50%> (+0.24%) ⬆️
gotrue/_sync/client.py 89.36% <62.50%> (+0.24%) ⬆️
gotrue/_async/api.py 70.00% <66.66%> (ø)
gotrue/_sync/api.py 70.00% <66.66%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c6d4d09...de25267. Read the comment docs.

sourcery-ai Bot and others added 2 commits January 20, 2022 02:24
@sourcery-ai

sourcery-ai Bot commented Jan 20, 2022

Copy link
Copy Markdown
Contributor

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 3.25 ⭐ 3.13 ⭐ -0.12 👍
Method Length 42.65 ⭐ 42.52 ⭐ -0.13 👍
Working memory 7.16 🙂 7.30 🙂 0.14 👎
Quality 78.30% ⭐ 78.05% ⭐ -0.25% 👎
Other metrics Before After Change
Lines 2430 2438 8
Changed files Quality Before Quality After Quality Change
gotrue/_async/api.py 83.42% ⭐ 83.22% ⭐ -0.20% 👎
gotrue/_async/client.py 74.24% 🙂 73.93% 🙂 -0.31% 👎
gotrue/_sync/api.py 83.55% ⭐ 83.36% ⭐ -0.19% 👎
gotrue/_sync/client.py 74.53% 🙂 74.21% 🙂 -0.32% 👎

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

File Function Complexity Length Working Memory Quality Recommendation
gotrue/_async/client.py AsyncGoTrueClient.get_session_from_url 15 🙂 219 ⛔ 14 😞 36.39% 😞 Try splitting into smaller methods. Extract out complex expressions
gotrue/_sync/client.py SyncGoTrueClient.get_session_from_url 15 🙂 217 ⛔ 14 😞 36.53% 😞 Try splitting into smaller methods. Extract out complex expressions
gotrue/_async/client.py AsyncGoTrueClient.sign_in 11 🙂 111 🙂 11 😞 55.02% 🙂 Extract out complex expressions
gotrue/_sync/client.py SyncGoTrueClient.sign_in 11 🙂 104 🙂 11 😞 55.95% 🙂 Extract out complex expressions
gotrue/_async/client.py AsyncGoTrueClient.__init__ 3 ⭐ 88 🙂 16 ⛔ 58.70% 🙂 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!

@leynier
leynier merged commit 57ec6d8 into main Jan 20, 2022
@leynier
leynier deleted the feat/add-create-user-param-to-sign-in branch January 20, 2022 07:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant