Page MenuHomeDevCentral

Allow to lint Python code
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:30.
Referenced Files
F4089366: D2948.id7508.diff
Tue, Feb 4, 08:44
Unknown Object (File)
Sun, Feb 2, 07:59
Unknown Object (File)
Sun, Feb 2, 07:25
Unknown Object (File)
Wed, Jan 29, 21:41
Unknown Object (File)
Mon, Jan 27, 10:22
Unknown Object (File)
Sun, Jan 26, 19:57
Unknown Object (File)
Thu, Jan 23, 22:32
Unknown Object (File)
Wed, Jan 22, 20:38

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