Reformat with black 23.3.0

This commit is contained in:
Ole Schütt 2023-05-02 11:45:13 +02:00 committed by Ole Schütt
parent 6b21f62de6
commit 12c03de0ba
20 changed files with 13 additions and 15 deletions

View file

@ -16,7 +16,6 @@ def main() -> None:
lines_out = []
continuation = False
for line in makefile.read_text(encoding="utf8").split("\n"):
# Remove trailing whitespaces.
line = line.rstrip()

View file

@ -26,6 +26,7 @@ SCRATCH_DIR = Path("./obj/precommit")
CACHE_FILE = SCRATCH_DIR / "cache.json"
SERVER = os.environ.get("CP2K_PRECOMMIT_SERVER", "https://precommit.cp2k.org")
# ======================================================================================
def main() -> None:
# Parse command line arguments.

View file

@ -16,6 +16,7 @@ app.config["MAX_CONTENT_LENGTH"] = 1024 * 1024 # 1MB
app.logger.setLevel(logging.INFO)
app.logger.info("CP2K Precommit Server is up and running :-)")
# ======================================================================================
@app.route("/")
def hello():