Page MenuHomeDevCentral

Allow to lint Python code
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:30.
Referenced Files
Unknown Object (File)
Wed, Nov 13, 22:59
Unknown Object (File)
Wed, Nov 13, 03:11
Unknown Object (File)
Tue, Nov 12, 17:57
Unknown Object (File)
Tue, Nov 12, 07:45
Unknown Object (File)
Fri, Nov 8, 02:53
Unknown Object (File)
Sat, Nov 2, 18:35
Unknown Object (File)
Sat, Nov 2, 18:34
Unknown Object (File)
Sat, Nov 2, 11:46

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