This repo is for Apache Paimon Python SDK.
Flake8 is used to enforce some coding guidelines.
- Install flake8 for your Python interpreter using
pip install flake8
. - In PyCharm go to "Settings" → "Tools" → "External Tools".
- Select the "+" button to add a new external tool.
- Set "Name" to "flake8".
- Set "Description" to "Code Style Check".
- Set "Program" to the path of your Python interpreter, e.g.
/usr/bin/python
. - Set "Arguments" to
-m flake8 --config=tox.ini
. - Set "Working Directory" to
$ProjectFileDir$
.
You can verify the setup by right-clicking on any file or folder in the flink-python project and running "External Tools" → "flake8".
We provide script to check codes.
./dev/lint-python.sh # execute all checks
./dev/lint-python.sh -h # run this to see more usages
We provide script to build wheel.
./dev/build-wheels.sh
The target wheel is under dist/
See Apache Paimon Python API Doc.