evoggy / crazyflie-pc-client

Other
0 stars 1 forks source link

Use static code checking #16

Open evoggy opened 10 years ago

evoggy commented 10 years ago

To avoid bugs and make the Python code better a static code checking tool should be used. Currently the top candidate is flake8: https://pypi.python.org/pypi/flake8

This issue is for choosing the tool and removing all the errors.


evoggy commented 10 years ago

Most of the cflib passes both flake8 and pylint (with the added exceptions mentioned here: http://wiki.bitcraze.se/codingstandard:index#coding_standard_for_python).

Let's make sure that all new code passes and then gradually fix the cfclient.


Original Comment By: Marcus Eliasson