Project

General

Profile

Actions

action #153793

closed

Ensure proper whitespace in os-autoinst scripts size:M

Added by okurz 11 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2024-01-17
Due date:
2024-02-02
% Done:

0%

Estimated time:

Description

Motivation

We want consistent whitespace indentation in all our scripts.
https://github.com/os-autoinst/scripts/pull/278#discussion_r1455812690

Acceptance Criteria

  • AC1: Pull requests fail when there are tabs used for indentation in shellscript code
  • AC2: Exceptions where tabs are required are considered

Suggestions

  • Research how to check for spaces using shellcheck or other linters and extend the CI accordingly, if needed with exceptions
  • Ensure the according checks are implemented
  • Consider using the same checks in our other usual repos when or where we also check shell script files
Actions

Also available in: Atom PDF