obelisk

Electrum server using libbitcoin as its backend
git clone https://git.parazyd.org/obelisk
Log | Files | Refs | README | LICENSE

commit 64c6303c66afdeb7ae16f5de5166d7de1c5c0d96
parent 5f7d76fd2abc25ea5f38790090d53dbbfec24343
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 13 Apr 2021 16:15:56 +0200

Add short script to format the python code.

Diffstat:
Ares/format_code.py | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/res/format_code.py b/res/format_code.py @@ -0,0 +1,8 @@ +#!/usr/bin/env python3 +# Run this from the repo root to format the python codebase. +# Depends: +# black - https://github.com/psf/black +# yapf - https://github.com/google/yapf +from subprocess import run +run(["black", "-l", "80", "."]) +run(["yapf", "-i", "-r", "."])