Page MenuHomeDevCentral

Allow to lint Python code
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:30.
Referenced Files
F53659753: D2948.diff
Sun, Oct 11, 10:12
F53630832: D2948.diff
Sun, Oct 11, 06:44
F53594824: D2948.id7508.diff
Sun, Oct 11, 01:46
F53594802: D2948.id7507.diff
Sun, Oct 11, 01:46
Unknown Object (File)
Thu, Oct 8, 10:53
Unknown Object (File)
Thu, Oct 8, 04:17
Unknown Object (File)
Tue, Oct 6, 18:21
Unknown Object (File)
Sun, Oct 4, 10:39

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