diff --git a/azure-pipelines.yml b/azure-pipelines.yml index df92f4d11..e8c371262 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -89,7 +89,7 @@ stages: versionSpec: '3.8' - task: CmdLine@2 inputs: - script: npm install -g pyright@1.1.75 + script: npm install -g pyright@1.1.79 - task: CmdLine@2 inputs: script: | diff --git a/passbook/flows/management/commands/benchmark.py b/passbook/flows/management/commands/benchmark.py index 3672c78d9..1cd6e7a09 100644 --- a/passbook/flows/management/commands/benchmark.py +++ b/passbook/flows/management/commands/benchmark.py @@ -91,8 +91,8 @@ class Command(BaseCommand): # pragma: no cover def output_overview(self, values): """Output results human readable""" - total_max = max([max(inner) for inner in values]) - total_min = min([min(inner) for inner in values]) + total_max: int = max([max(inner) for inner in values]) + total_min: int = min([min(inner) for inner in values]) total_avg = sum([sum(inner) for inner in values]) / sum( [len(inner) for inner in values] )