From 1a873b5ea20ff5385d07487c71b9c6fe081c339c Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 9 Oct 2021 22:26:39 +0200 Subject: [PATCH] lint --- remote.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/remote.py b/remote.py index e87f452..09b5be7 100644 --- a/remote.py +++ b/remote.py @@ -8,12 +8,12 @@ import hypertext ARCHIVE = '.tar.xz' ARCHITECTURES = ['x86_64', 'i686'] ARCHITECTURES_BITS = { -'x86_64': 64, -'i686': 32, + 'x86_64': 64, + 'i686': 32, } ARCHITECTURES_SUBSYSTEMS = { -'x86_64': ['msys', 'clang64', 'mingw64', 'ucrt64'], -'i686': ['msys', 'clang32', 'mingw32'], + 'x86_64': ['msys', 'clang64', 'mingw64', 'ucrt64'], + 'i686': ['msys', 'clang32', 'mingw32'], } CHARSET = 'u8' DISTRIBUTION = 'distrib' @@ -64,6 +64,6 @@ class Remote: for architecture, archive in reversed(sorted(self.archives.items())): lines.append(f'{architecture} → {archive}') lines.append('Subsystems:') - for architecture, subsystems in reversed(sorted(self.catalogs.items())): - lines.append(f'{architecture} → {list(subsystems.keys())}') + for arch, ss in reversed(sorted(self.catalogs.items())): + lines.append(f'{arch} → {list(ss.keys())}') return os.linesep.join(lines)