Skip to content

Improvement: Check for exactly one new line at the end of the file #801

Description

@limdor

What

Time and focus is lost in a PR review when files do not have exactly one new line at the end of the file. To save time from everyone we want this to be enforced in checks and not rely on the reviewers.

How

For C++, we have this configured in clang-format. We should check if for Starlark, Python, and Rust, it can be configured in the corresponding formater.

Estimates for realization

No response

Category

  • Affects Detailed Design

Requirements / Architecture

  • Requirements / Architecture are not affected by this change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions