fix: minor fixes to get pycharm not to complain too much (#972)

This commit is contained in:
Matthieu Darbois
2021-12-27 09:26:33 +01:00
committed by GitHub
parent 4ed927c4a2
commit 21df1e576d
5 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ FOLD_PATTERNS = {
"github": ("::group::{name}", "::endgroup::{name}"),
}
PLATFORM_IDENTIFIER_DESCIPTIONS = {
PLATFORM_IDENTIFIER_DESCRIPTIONS = {
"manylinux_x86_64": "manylinux x86_64",
"manylinux_i686": "manylinux i686",
"manylinux_aarch64": "manylinux aarch64",
@@ -204,7 +204,7 @@ def build_description_from_identifier(identifier: str) -> str:
build_description += f" {python_version[0]}.{python_version[1:]} "
try:
build_description += PLATFORM_IDENTIFIER_DESCIPTIONS[platform_identifier]
build_description += PLATFORM_IDENTIFIER_DESCRIPTIONS[platform_identifier]
except KeyError as e:
raise Exception("unknown platform") from e