Skip to content

Commit 901bd0b

Browse files
authored
⬆️ upgrade pydantic and black (#119)
* ⬆️ upgrade pydantic and black * 🔖 next version
1 parent 6eee79a commit 901bd0b

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

clabe/validations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ def get_bank_name(clabe: str) -> str:
5151
def generate_new_clabes(number_of_clabes: int, prefix: str) -> List[str]:
5252
clabes = []
5353
missing = CLABE_LENGTH - len(prefix) - 1
54-
assert (10 ** missing - 10 ** (missing - 1)) >= number_of_clabes
54+
assert (10**missing - 10 ** (missing - 1)) >= number_of_clabes
5555
clabe_sections = random.sample(
56-
range(10 ** (missing - 1), 10 ** missing), number_of_clabes
56+
range(10 ** (missing - 1), 10**missing), number_of_clabes
5757
)
5858
for clabe_section in clabe_sections:
5959
clabe = prefix + str(clabe_section)

clabe/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.2.4'
1+
__version__ = '1.2.5'

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pytest==6.2.*
22
pytest-cov==2.11.*
3-
black==20.8b1
3+
black==22.3.0
44
isort==5.10.*
55
flake8==4.0.*
66
mypy==0.790

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pydantic==1.8.2
1+
pydantic==1.9.0

0 commit comments

Comments
 (0)