Open-Model-Initiative / OMI-Data-Pipeline

Apache License 2.0
32 stars 5 forks source link

Add flake8 and pre-commit support, fix all current flake8 and pre-commit issues #4

Closed CheesyLaZanya closed 3 months ago

CheesyLaZanya commented 3 months ago

Add flake8 and pre-commit support, fix all current flake8 and pre-commit issues (aside from unused imports which can be done in a second wave)

It looks like a lot but the majority of issues were:

  1. Trailing spaces
  2. Missing new lines between functions.
  3. Indentation
  4. Modules not all imported at the top.

etc.