-
-
Notifications
You must be signed in to change notification settings - Fork 267
Custom exception class, URL & Key validation using RegEx, typo fixes. #289
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Sourcery Code Quality Report❌ Merging this PR will decrease code quality in the affected files by 1.81%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
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! |
This merge is failing because of the test on: Could you rewrite the test there @rawandahmad698, so it passes the test? |
Yessir I can
…On Fri, Oct 21, 2022 at 3:51 PM Rodrigo Mansueli Nunes < ***@***.***> wrote:
This merge is failing because of the test on:
https://github.com/supabase-community/supabase-py/blob/develop/tests/test_function_configuration.py
Could you rewrite the test there @rawandahmad698
<https://github.com/rawandahmad698>, so it passes the test?
It looks really good otherwise.
—
Reply to this email directly, view it on GitHub
<#289 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEUB6W5PNTLBHCWZGK5LETDWEKGWNANCNFSM6AAAAAARHJBYQE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@mansueli Fixed |
Hey @rawandahmad698 Thanks for this PR! We're almost at the point we can merge -- seems like the tests are failing as the pre-commit hook (black) hasn't run. Do you mind running the necessary formatters over the code so that the tests pass? |
Could you please clarify? All the tests are OK on my end. |
So that CI passes* you can take a look at the CI checks for 8244244 You might want to run |
All good, thank you |
Hey @rawandahmad698 yup it looks perfect now, Thanks for your patience with us and we appreciate your effort on this PR! |
Appreciate your help, will continue opening PR's :) |
What kind of change does this PR introduce?
Creates a custom exception class for easier debugging. Fixes some typos, Adds
URL
&Key
validation using RegExWhat is the current behavior?
Currently,
Exception
andBaseException
are thrown, which can make your code prone to errors and difficult to maintainWhat is the new behavior?
Adds a custom exception class.