HomeDevCentral

Allow to lint Python code

Description

Allow to lint Python code

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

Reviewers: dereckson

Reviewed By: dereckson

Subscribers: Nasqueron Docker deployment squad

Tags: Docker images

Maniphest Tasks: T1810

Differential Revision: https://devcentral.nasqueron.org/D2948

Details

Provenance
derecksonAuthored on Mar 30 2023, 23:28
derecksonPushed on Mar 30 2023, 23:30
Reviewer
dereckson
Differential Revision
D2948: Allow to lint Python code
Parents
rDARC1efd7f31469d: Allow tu update user image
Branches
Unknown
Tags
Unknown
References
master
Tasks
T1810: Arcanist image doesn't have flake8 to lint Python code