Page MenuHomeDevCentral

Allow to lint Python code
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:30.
Referenced Files
F27257993: D2948.diff
Sat, May 2, 07:40
Unknown Object (File)
Mon, Apr 27, 03:05
Unknown Object (File)
Sun, Apr 26, 04:17
Unknown Object (File)
Tue, Apr 21, 18:35
Unknown Object (File)
Sun, Apr 19, 07:18
Unknown Object (File)
Sat, Apr 18, 21:38
Unknown Object (File)
Wed, Apr 8, 04:16
Unknown Object (File)
Mar 28 2026, 06: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