From 664376d9b14a5aa53961e3f9b27521d1f62c6327 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Thu, 26 Sep 2024 20:21:39 -0400 Subject: [PATCH] testing make release/branch --- CMakeLists.txt | 2 +- commit.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c56c41..e24e079 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(COSC-4P80-Assignment-1 VERSION 3.0.0) +project(COSC-4P80-Assignment-1 VERSION 4.0.0) option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF) option(ENABLE_UBSAN "Enable the ub sanitizer" OFF) diff --git a/commit.py b/commit.py index bff50e5..5ded88d 100755 --- a/commit.py +++ b/commit.py @@ -173,7 +173,7 @@ def make_release(env: EnvData, name): repos_v = open_process(["git", "remote", "-v"])[0].splitlines() urls = [] for line in repos_v: - origin = ''.join(itertools.takewhile(lambda c: not str(c).isspace(), line)) + origin = ''.join(itertools.takewhile(not str.isspace, line)) print(f"Origin: {origin}") urls.append(open_process(["git", "remote", "get-url", origin])[0]) urls = set(urls)