freedomofpress / securedrop-workstation

Qubes-based SecureDrop Journalist Workstation environment for submission handling
GNU Affero General Public License v3.0
141 stars 43 forks source link

Enforce linting standards in CI #56

Open conorsch opened 6 years ago

conorsch commented 6 years ago

The repository contains files of several common types, including:

Let's enforce linting across all those files using the appropriate tool, e.g. yamllint, flake8, and shellcheck, respectively. Linting the Salt files may require some creativity, given the Jinja declarations. See here for some bright ideas in that direction: https://stackoverflow.com/questions/31234541/linting-salt-states-without-running-them

conorsch commented 6 years ago

Examples for each linting strategy can be found in the SecureDrop repository:

rocodes commented 8 months ago

backlog pruning session: