mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Reformat with black 23.3.0
This commit is contained in:
parent
6b21f62de6
commit
12c03de0ba
20 changed files with 13 additions and 15 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue