diff --git a/kernel_tuner/cache/convert.py b/kernel_tuner/cache/convert.py index d9179f10..6a78a43b 100644 --- a/kernel_tuner/cache/convert.py +++ b/kernel_tuner/cache/convert.py @@ -69,14 +69,14 @@ def convert_cache(cache: dict, conversion_functions=None, versions=None, target_ if semver.VersionInfo.parse(version).compare(target_version) > 0: raise ValueError( - f"Target version ({target_version}) should not be " f"smaller than the cache's version ({version})" + f"Target version ({target_version}) should not be smaller than the cache's version ({version})" ) if version not in versions: - raise ValueError(f"Version ({version}) should be a real " f"existing version") + raise ValueError(f"Version ({version}) should be a real existing version") if target_version not in versions: - raise ValueError(f"Target version ({target_version}) should be " f"a real existing version") + raise ValueError(f"Target version ({target_version}) should be a real existing version") # Main convert loop while version != target_version: diff --git a/kernel_tuner/scripts/ktcache.py b/kernel_tuner/scripts/ktcache.py index 402d1f6b..fa82e148 100644 --- a/kernel_tuner/scripts/ktcache.py +++ b/kernel_tuner/scripts/ktcache.py @@ -10,7 +10,7 @@ - `convert`: using the functionality from convert.py one can convert to a specified version. Within conversion (all required yet nonpositional arguments): - `-i/--infile`: the input file to read from. - - `-T/--target`: The version to convert to. + - `-T/--target`: The version to convert to. - `--out/--output`: The converted output file. - `--force-version-absence`: allow unversioned cachefiles to be converted.