Page MenuHomeDevCentral

Allow to lint Python code
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:30.
Referenced Files
F10965414: D2948.id7507.diff
Thu, Aug 7, 13:56
F10956990: D2948.id7508.diff
Thu, Aug 7, 06:38
Unknown Object (File)
Wed, Aug 6, 14:28
Unknown Object (File)
Wed, Aug 6, 09:58
Unknown Object (File)
Tue, Aug 5, 11:38
Unknown Object (File)
Tue, Aug 5, 10:02
Unknown Object (File)
Tue, Aug 5, 10:01
Unknown Object (File)
Sat, Aug 2, 07:16

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