Page MenuHomePhabricator

Change linter from pep8 to flake8
ClosedPublic

Authored by Info-Screen on Mar 24 2019, 11:43 PM.

Details

Summary
From the pypi project page:

Flake8 is a wrapper around these tools:

  • PyFlakes
  • pycodestyle
  • Ned Batchelder’s McCabe script

pycodestyle is what was former called pep8

So flake8 does some more linting. It also found some issues the old pep8 linter didn't find.
These new lint issues are also fixed with this diff.

Test Plan

n/A

Diff Detail

Repository
rAPI Server API
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Mar 27 2019, 3:33 PM
This revision was automatically updated to reflect the committed changes.