Page MenuHomeDevCentral

Allow to lint Python code
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:30.
Referenced Files
F52223867: D2948.id.diff
Thu, Oct 1, 03:45
Unknown Object (File)
Mon, Sep 28, 14:20
Unknown Object (File)
Sat, Sep 26, 10:31
Unknown Object (File)
Sat, Sep 26, 10:31
Unknown Object (File)
Sun, Sep 20, 14:49
Unknown Object (File)
Sun, Sep 20, 14:49
Unknown Object (File)
Sun, Sep 20, 14:49
Unknown Object (File)
Sat, Sep 19, 05:12

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