Page MenuHomeDevCentral

Allow to lint Python code
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:30.
Referenced Files
F20845591: D2948.id7508.diff
Mon, Jan 12, 14:44
F20841511: D2948.diff
Mon, Jan 12, 13:42
F20832076: D2948.diff
Mon, Jan 12, 11:25
Unknown Object (File)
Sun, Jan 11, 20:55
Unknown Object (File)
Fri, Jan 9, 18:52
Unknown Object (File)
Fri, Jan 9, 14:17
Unknown Object (File)
Fri, Jan 2, 22:58
Unknown Object (File)
Fri, Jan 2, 09:55

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
Lint Not Applicable
Unit
Tests Not Applicable