[ 
https://issues.apache.org/jira/browse/ARROW-5176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16827264#comment-16827264
 ] 

Neal Richardson commented on ARROW-5176:
----------------------------------------

+1 for this, and I'll go further and propose a pre-commit hook to run `black` 
so that developers don't have to waste energy thinking about linting. At a 
minimum we should add a pre-commit hook that runs flake8 (per the [dev 
instructions|https://github.com/apache/arrow/blob/master/docs/source/developers/python.rst#coding-style]).
 I got a Travis failure for linting, and IMO that should never happen.

> [Python] Automate formatting of python files
> --------------------------------------------
>
>                 Key: ARROW-5176
>                 URL: https://issues.apache.org/jira/browse/ARROW-5176
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: Python
>            Reporter: Benjamin Kietzman
>            Priority: Minor
>
> [Black](https://github.com/ambv/black) is a tool for automatically formatting 
> python code in ways which flake8 and our other linters approve of. Adding it 
> to the project will allow more reliably formatted python code and fill a 
> similar role to {{clang-format}} for c++ and {{cmake-format}} for cmake



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to