Page MenuHomePhabricator

Change linter from pep8 to flake8
ClosedPublic

Authored by Info-Screen on Mar 24 2019, 11:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 27, 4:43 AM
Unknown Object (File)
Tue, Sep 27, 4:43 AM
Unknown Object (File)
Tue, Sep 27, 4:43 AM
Unknown Object (File)
Sat, Sep 24, 7:49 PM
Unknown Object (File)
Wed, Sep 21, 8:51 PM
Unknown Object (File)
Wed, Sep 21, 7:07 PM
Unknown Object (File)
Wed, Sep 21, 10:52 AM
Unknown Object (File)
Mon, Sep 19, 3:46 AM
Subscribers
None

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
Branch
change-lint-flake8
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 601
Build 601: arc lint + arc unit

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.