Styling 😎

Each language in the Apache Arrow project follows its own style guides.

In this section we will provide links to the existing documentation to make it easier for you to find the relevant information about linters and styling of the code.

We use flake8 linting for styling issues in Python. To help developers check styling of the code, among other common development tasks, Archery utility tool was developed within Apache Arrow.

The instructions on how to set up and use Archery can be found in the Coding Style section of the Python Development.

Pre-commit

It is useful to set up pre-commit, a multi-language package manager for pre-commit hooks. It will check your code and will stop the commit process, described in the following section, if there are any errors.