From 990a3c1df103f0a31701b670dc1ad7aa45cc3b1e Mon Sep 17 00:00:00 2001 From: Maxim Masiutin Date: Sun, 9 Apr 2023 01:51:36 +0300 Subject: [PATCH] Used black and isort --- server/fishtest/__init__.py | 2 +- worker/games.py | 8 ++------ worker/sri.txt | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/server/fishtest/__init__.py b/server/fishtest/__init__.py index eae2801f35..58c5129b2d 100644 --- a/server/fishtest/__init__.py +++ b/server/fishtest/__init__.py @@ -2,7 +2,6 @@ import hashlib from pathlib import Path -from fishtest.rundb import RunDb from pyramid.authentication import AuthTktAuthenticationPolicy from pyramid.authorization import ACLAuthorizationPolicy from pyramid.config import Configurator @@ -10,6 +9,7 @@ from pyramid.session import SignedCookieSessionFactory from fishtest import helpers +from fishtest.rundb import RunDb def main(global_config, **settings): diff --git a/worker/games.py b/worker/games.py index 7de6ac6223..24177e38c1 100644 --- a/worker/games.py +++ b/worker/games.py @@ -571,13 +571,9 @@ def find_arch(compiler): and not ("nodotprod" in props["arch"]) ): arch = "armv8-dotprod" - elif ( - "armv8" in props["arch"] - ): + elif "armv8" in props["arch"]: arch = "armv8" - elif ( - "armv7" in props["arch"] - ): + elif "armv7" in props["arch"]: arch = "armv7" elif ( "avx512vnni" in props["flags"] diff --git a/worker/sri.txt b/worker/sri.txt index d0990038ec..d656b0e687 100644 --- a/worker/sri.txt +++ b/worker/sri.txt @@ -1 +1 @@ -{"__version": 205, "updater.py": "PHFUVXcoxBFiW2hTqFN5q5WdAw2pK8uzFC7hyMUC3cLY5bGZPhL8TBGThtqDmcXd", "worker.py": "cCyr244zHs0k/Uur7lQlXSCsmGwCT7L+bSxrH4kLB6Dol2AsUCz/Lg+Bo2VPgQVk", "games.py": "bK3SvG/8oGKOZlgT4oczbfgzOS6LMOesBKWWVI4P74z1cMJB9C2cqqas7U42XO3x"} +{"__version": 205, "updater.py": "PHFUVXcoxBFiW2hTqFN5q5WdAw2pK8uzFC7hyMUC3cLY5bGZPhL8TBGThtqDmcXd", "worker.py": "cCyr244zHs0k/Uur7lQlXSCsmGwCT7L+bSxrH4kLB6Dol2AsUCz/Lg+Bo2VPgQVk", "games.py": "HTnCN/o3WYRaZHr3qBplAbhMNo/ZTjSrOc7Z3wddTdoAuxJ+dwr6QSxKV+de3y4g"}