google/open-location-code

Add pylint checks for Python code

開放

#327 建立於 2019年5月6日

 (1 則留言) (1 個反應) (0 位負責人)Java (500 個分叉)batch import
help wantedpython

倉庫指標

星標
 (3,945 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Python got code formatting added in #326 - in addition we should add pylint checking as well to pick up common errors.

We could adopt the pylintrc from the YAPF project.

Note: The pylintrc and the YAPF style will need to agree - for example the indentation in YAPF is four spaces and the above pylintrc uses two spaces.

It will need to be added to the travis.yml, and all the issues (there will be lots) addressed.

貢獻者指南