hoffmangroup / genomedata

The Genomedata format for storing large-scale functional genomics data.
https://genomedata.hoffmanlab.org/
GNU General Public License v2.0
2 stars 1 forks source link

Flake8 lint fix #58

Closed EricR86 closed 3 years ago

EricR86 commented 3 years ago

This PR adds flake8 to GitHub actions and fixes all reported flake8 issues in the Genomedata codebase.

Of note there were some bare excepts being used presumably as a catch-all for generic error reporting. These have been replaced with referencing the Exception type which allows for any program exception, but not catching any system-style exception (e.g. KeyboardInterrupt or SystemExit).

This also ignores linting in examples directory and inside doc/conf.py since that file is largely autogenerated.

EricR86 commented 3 years ago

Not sure why Github actions aren't being run on this PR. Investigating.