obelisk

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

format_code.py (311B)


      1 #!/usr/bin/env python3
      2 # Run this from the repo root to format the python codebase.
      3 # Depends:
      4 # black - https://github.com/psf/black
      5 # yapf  - https://github.com/google/yapf
      6 from subprocess import run
      7 
      8 run(["black", "-l", "80", "."], check=True)
      9 run(["yapf", "--style", "google", "-i", "-r", "."], check=True)