mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 06:31:37 +00:00
aedi: make mypy linter happy
state.py:112: error: Item "None" of "Match[str] | None" has no attribute "group" [union-attr]
This commit is contained in:
parent
e8d8bba6ab
commit
acfcef3683
1 changed files with 5 additions and 3 deletions
|
@ -109,6 +109,8 @@ class BuildState:
|
|||
|
||||
version_output = subprocess.run(('clang', '--version'), check=True, capture_output=True)
|
||||
version_match = re.search(r'\(clang-([\d.]+)\)', version_output.stdout.decode('ascii'))
|
||||
|
||||
if version_match:
|
||||
version = StrictVersion(version_match.group(1))
|
||||
|
||||
if version.major == 1500 and version.minor == 0:
|
||||
|
|
Loading…
Reference in a new issue