From 6ab3c47db4af70c34e46742b59c11515fd39b748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com> Date: Tue, 12 Jun 2018 18:40:31 +0200 Subject: [PATCH] Adopt Black --- README.md | 4 ++++ .../decisions/0013-black-code-formatter.md | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 docs/architecture/decisions/0013-black-code-formatter.md diff --git a/README.md b/README.md index c303aa3..eb60e95 100644 --- a/README.md +++ b/README.md @@ -94,3 +94,7 @@ Hosts", turn off "Host Sending Client Registration Request Must Match" and save it. Now run: `pytest --issuer=http://localhost:8080/auth/realms/master` + +### Code formatting + +We are using [Black](https://github.com/ambv/black) for code formatting. diff --git a/docs/architecture/decisions/0013-black-code-formatter.md b/docs/architecture/decisions/0013-black-code-formatter.md new file mode 100644 index 0000000..2aef253 --- /dev/null +++ b/docs/architecture/decisions/0013-black-code-formatter.md @@ -0,0 +1,19 @@ +# 13. Black code formatter + +Date: 2018-06-12 + +## Status + +Accepted + +## Context + +We would like to simplify code reviews and unify code style. + +## Decision + +Use Black code formatter: https://github.com/ambv/black + +## Consequences + +Less thinking about formatting and more about functionality. -- GitLab