Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 28, 2023
1 parent fb438bf commit d17e7ec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ def run(self):
+ ", ".join(e.name for e in self.extensions)
)

cmake_version = parse(
re.search(r"version\s*([\d.]+)", out.decode()).group(1)
)
cmake_version = parse(re.search(r"version\s*([\d.]+)", out.decode()).group(1))
if cmake_version < parse("3.20.0"):
raise RuntimeError("CMake >= 3.20.0 is required")

Expand Down

0 comments on commit d17e7ec

Please sign in to comment.