Files
breez-sdk-docs/snippets/python_snippets
2023-11-17 13:15:26 +01:00
..
2023-11-17 13:15:26 +01:00
2023-11-17 13:15:26 +01:00
2023-11-17 13:15:26 +01:00

Steps to run locally

To check the syntax:

cd snippets/python_snippets
python3 -m compileall src

To check the snippet formatting:

cd snippets/python_snippets/src
ruff --ignore F841 --ignore F401 --output-format=github .

To execute the snippets locally, in order to check for type correctness:

#!/bin/bash

export API_KEY="..."
export MNEMONIC="..."

cd snippets/python_snippets
python main.py $API_KEY $MNEMONIC