PPPLDeepLearning / plasma-python

PPPL deep learning disruption prediction package
http://tigress-web.princeton.edu/~alexeys/docs-web/html/
79 stars 43 forks source link

Add Python style checker (flake8) and fix existing violations #37

Closed felker closed 4 years ago

felker commented 4 years ago

Most of the PEP 8 recommendations are adopted, including the restrictive 79 character limit per line. Ignored/excluded PEP 8 rules are listed in the [flake8] block of setup.cfg and are described in the adjacent comments.

Travis CI is now configured to run the linter as a preliminary build stage for all builds. If flake8 emits a warning or error, the main install+test build stage will be aborted, and Travis will report the overall build as failed.

Detailed summary

To-do

buildbot-princeton commented 4 years ago

Can one of the admins verify this patch?

buildbot-princeton commented 4 years ago

Can one of the admins verify this patch?

felker commented 4 years ago

Add to whitelist