summaryrefslogtreecommitdiff
path: root/methods.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-30 17:44:39 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-30 17:44:39 +0200
commitef8834a6420e9e9141c48d230a0a312a3aa2597e (patch)
tree6d65a5230a794e33f5cce71979d34bcab9e8b352 /methods.py
parent28154b9a07d1eeb372e0757582dd913e2237da74 (diff)
parentc5bd2f9dce17f3e6bf7d9681243e2743633db6f0 (diff)
Merge pull request #64784 from yedpodtrzitko/yed/ci-add-mypy
ci: add Python static analysis check via mypy
Diffstat (limited to 'methods.py')
-rw-r--r--methods.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/methods.py b/methods.py
index 09012b8763..dadac37cb5 100644
--- a/methods.py
+++ b/methods.py
@@ -1,6 +1,5 @@
import os
import re
-import sys
import glob
import subprocess
from collections import OrderedDict
@@ -663,7 +662,6 @@ def detect_visual_c_compiler_version(tools_env):
if vc_x86_amd64_compiler_detection_index > -1 and (
vc_chosen_compiler_index == -1 or vc_chosen_compiler_index > vc_x86_amd64_compiler_detection_index
):
- vc_chosen_compiler_index = vc_x86_amd64_compiler_detection_index
vc_chosen_compiler_str = "x86_amd64"
return vc_chosen_compiler_str