-
Notifications
You must be signed in to change notification settings - Fork 56
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
♻️ refactor the validate_brand
method & add new types
#56
Conversation
please review |
Hmmm... Should we think of a more elegant way to register new brands? |
I really tried to think about something that can be used In that case, but this is the best way to refactor it! what do you think about make in it like external types? or create secondary package support just for types quit like |
Unless there's already a package that handles it, I don't think we should create a separate one for it now. But... Doesn't a package already exist for this? |
@Kludex what do you think shall we support this one: https://github.com/orokusaki/pycard |
@yezz123 This package does not appear to be actively updated (last commit in 2017, opened pull request from 2019) and does not support all proposed card brands |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #56 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 10 10
Lines 688 707 +19
Branches 176 179 +3
=========================================
+ Hits 688 707 +19 ☔ View full report in Codecov by Sentry. |
Selected Reviewer: @Kludex