HomePhabricator

Change linter from pep8 to flake8

Description

Change linter from pep8 to flake8

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

Reviewers: WyldBot, CLOVIS

Reviewed By: WyldBot

Differential Revision: https://phabricator.wildfyre.net/D232

Details

Provenance
Info-ScreenAuthored on Mar 24 2019, 11:29 PM
Reviewer
WyldBot
Differential Revision
D232: Change linter from pep8 to flake8
Parents
rAPI5a8545e1b64c: Fix doc Dockerfile
Branches
Unknown
Tags
Unknown