Please check INSTALLATION.md to build SecretFlow from source.
If you need to run all tests,
bash run_pytest.sh
If you would like to run a single test, e.g. tests/device/test_spu.py,
bash run_pytest.sh test_spu.py
We stick to Google Style.
We prefer black as our code formatter. For various editor users,
please refer to editor integration.
Pass -S, --skip-string-normalization
to black to avoid string quotes or prefixes normalization.
black
won't format your imports. You can do this manually or by IDE, e.g. VSCode. The format of imports refers to Imports formatting
We stick to Angular Style.