Page MenuHomeDevCentral

Allow to lint Python code
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:30.
Referenced Files
F10956990: D2948.id7508.diff
Thu, Aug 7, 06:38
F10939993: D2948.id7507.diff
Wed, Aug 6, 14:28
F10938593: D2948.id7508.diff
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
Unknown Object (File)
Sat, Aug 2, 00:52

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