Page MenuHomeDevCentral

Allow to lint Python code
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:30.
Referenced Files
F11842334: D2948.diff
Thu, Sep 25, 11:41
F11842280: D2948.id7508.diff
Thu, Sep 25, 11:39
F11832157: D2948.id.diff
Thu, Sep 25, 06:06
Unknown Object (File)
Tue, Sep 23, 05:05
Unknown Object (File)
Tue, Sep 23, 02:17
Unknown Object (File)
Mon, Sep 22, 05:39
Unknown Object (File)
Sun, Sep 21, 13:25
Unknown Object (File)
Sun, Sep 21, 09:59

Details

Summary

For simplest scenarii, flake8 allows to lint Python file.

For more complex ones, all to handle virtualenv is there too.

Fixes T1810.

Test Plan
  • arc lint --everything
  • create and activate a virtualenv

Diff Detail

Repository
rDARC nasqueron/arcanist Docker image
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
lint-python
Build Status
Buildable 4650
Build 4926: arc lint + arc unit