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

@ -1,10 +1,10 @@
"""
@author: MatteoRaso
"""
from collections.abc import Callable
from math import pi, sqrt
from random import uniform
from statistics import mean
from typing import Callable
def pi_estimator(iterations: int):