Page MenuHomeDevCentral

Allow to lint Python code
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:30.
Referenced Files
F10019043: D2948.id7508.diff
Tue, Jun 17, 17:50
F10010953: D2948.id7507.diff
Tue, Jun 17, 15:19
F9979741: D2948.id7507.diff
Tue, Jun 17, 05:08
F9963711: D2948.diff
Mon, Jun 16, 22:44
Unknown Object (File)
Thu, Jun 5, 20:44
Unknown Object (File)
Thu, Jun 5, 20:17
Unknown Object (File)
Wed, Jun 4, 17:47
Unknown Object (File)
Sat, May 31, 08:32

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