99
1010
1111@validator
12- def card_number (value : str ):
12+ def card_number (value : str , / ):
1313 """Return whether or not given value is a valid generic card number.
1414
1515 This validator is based on [Luhn's algorithm][1].
@@ -44,7 +44,7 @@ def card_number(value: str):
4444
4545
4646@validator
47- def visa (value : str ):
47+ def visa (value : str , / ):
4848 """Return whether or not given value is a valid Visa card number.
4949
5050 Examples:
@@ -70,7 +70,7 @@ def visa(value: str):
7070
7171
7272@validator
73- def mastercard (value : str ):
73+ def mastercard (value : str , / ):
7474 """Return whether or not given value is a valid Mastercard card number.
7575
7676 Examples:
@@ -96,7 +96,7 @@ def mastercard(value: str):
9696
9797
9898@validator
99- def amex (value : str ):
99+ def amex (value : str , / ):
100100 """Return whether or not given value is a valid American Express card number.
101101
102102 Examples:
@@ -122,7 +122,7 @@ def amex(value: str):
122122
123123
124124@validator
125- def unionpay (value : str ):
125+ def unionpay (value : str , / ):
126126 """Return whether or not given value is a valid UnionPay card number.
127127
128128 Examples:
@@ -148,7 +148,7 @@ def unionpay(value: str):
148148
149149
150150@validator
151- def diners (value : str ):
151+ def diners (value : str , / ):
152152 """Return whether or not given value is a valid Diners Club card number.
153153
154154 Examples:
@@ -174,7 +174,7 @@ def diners(value: str):
174174
175175
176176@validator
177- def jcb (value : str ):
177+ def jcb (value : str , / ):
178178 """Return whether or not given value is a valid JCB card number.
179179
180180 Examples:
@@ -200,7 +200,7 @@ def jcb(value: str):
200200
201201
202202@validator
203- def discover (value : str ):
203+ def discover (value : str , / ):
204204 """Return whether or not given value is a valid Discover card number.
205205
206206 Examples:
0 commit comments