From f8217c9d72b081b1dd000155d6a99e84681c0113 Mon Sep 17 00:00:00 2001 From: Leander Karp <karp@cl.uni-heidelberg.de> Date: Mon, 9 Sep 2024 18:52:43 +0200 Subject: [PATCH] Update README.md Explain how to format and type check. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 9dd644d..88295a7 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,17 @@ Alembic must always be up to date in order to update the database schema. Please run `alembic upgrade head` after pulling changes from the repository. --- +## Compliance + +### Formatting + +We use [black](https://github.com/psf/black) as formatting tool. +Use `black .` to run the formatter. + +### Static Type Checking + +Run `mypy .` to let [mypy](https://www.mypy-lang.org/) validate the Python types. + ## How to move around in this repo ## `/portal/`: Main Application -- GitLab