Skip to content

Add trailing whitespace to JSON file #44

@kellenff

Description

@kellenff

Is your feature request related to a problem? Please describe.
I run a standard pre-commit lint which checks for a trailing newline in all files. When the .pytest-queries file is updated the trailing newline is stripped and must be manually added afterwards

Describe the solution you'd like
Appending a trailing newline to the output

Describe alternatives you've considered
Files can be excluded from the lint, but I'd prefer to avoid special-casing where possible

Additional context
The lint which flags this file is recommended by the pre-commit project, so will probably affect a fair number of users

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions