ci: bump pyright version

This commit is contained in:
Jens Langhammer 2020-10-16 22:29:59 +02:00
parent 971713d1aa
commit 25d0ac6534
2 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ stages:
versionSpec: '3.8' versionSpec: '3.8'
- task: CmdLine@2 - task: CmdLine@2
inputs: inputs:
script: npm install -g pyright@1.1.75 script: npm install -g pyright@1.1.79
- task: CmdLine@2 - task: CmdLine@2
inputs: inputs:
script: | script: |

View File

@ -91,8 +91,8 @@ class Command(BaseCommand): # pragma: no cover
def output_overview(self, values): def output_overview(self, values):
"""Output results human readable""" """Output results human readable"""
total_max = max([max(inner) for inner in values]) total_max: int = max([max(inner) for inner in values])
total_min = min([min(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( total_avg = sum([sum(inner) for inner in values]) / sum(
[len(inner) for inner in values] [len(inner) for inner in values]
) )