Conditions | 1 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | #!/usr/bin/python |
||
8 | 1 | def __init__(self, amount: int, currency_sign: str = "$", currency_sign_start: bool = True) -> None: |
|
9 | """Initializing function |
||
10 | |||
11 | :type amount: int |
||
12 | :type currency_sign: str |
||
13 | :type currency_sign_start: bool |
||
14 | """ |
||
15 | 1 | self._amount = amount |
|
16 | 1 | self._currency_sign = currency_sign |
|
17 | 1 | self._currency_sign_start = currency_sign_start |
|
18 | |||
44 |