HomeDevCentral

Configure Flake8 linter for Arcanist

Description

Configure Flake8 linter for Arcanist

Summary:
Allow to specify pillar and other Salt dictionaries as builtins,
so flake8 won't complain anymore those names don't exist.

Lint also the .sls #!py files, as they are written in Python too.

This currently needs to use Nasqueron version of arcanist, production branch:
https://github.com/nasqueron/arcanist/commit/15aa482eacd90fdbd238bc8b7a17c4bbba8a0bdd

Test Plan: arc lint

Reviewers: dereckson

Reviewed By: dereckson

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

Details

Provenance
derecksonAuthored on Feb 14 2023, 19:17
derecksonPushed on Feb 14 2023, 19:20
Reviewer
dereckson
Differential Revision
D2795: Configure Flake8 linter for Arcanist
Parents
rOPSed6506e702dd: Install tar
Branches
Unknown
Tags
Unknown