pre-commit autoupdate: pyupgrade v2.34.0 -> v2.37.0 (#6245)

* pre-commit autoupdate: pyupgrade v2.34.0 -> v2.37.0

* pre-commit run --all-files
This commit is contained in:
Christian Clauss
2022-07-11 10:19:52 +02:00
committed by GitHub
parent 2d5dd6f132
commit b75a7c77f8
41 changed files with 56 additions and 41 deletions

View File

@ -11,8 +11,8 @@ References:
- https://en.wikipedia.org/wiki/Prime_number
"""
import math
from collections.abc import Iterator
from itertools import takewhile
from typing import Iterator
def is_prime(number: int) -> bool: