Page MenuHomeDevCentral

Allow to lint Python code
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:30.
Referenced Files
F20841511: D2948.diff
Mon, Jan 12, 13:42
F20832076: D2948.diff
Mon, Jan 12, 11:25
F20770395: D2948.id7507.diff
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
Unknown Object (File)
Wed, Dec 31, 00:51

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