Skip to content

To improve VCS compatibility, don't enforce formatting paradigm #1267

@SlowMo24

Description

@SlowMo24

In addition to #1266 , non-changes may happen due to different formatting conventions between tools. this can lead to a lot of changes in VCS but none of which are actual changes, just change in formatting.

Here are some examples when using pybabel update:

  • enforcing a certain header order and removing unknown tags from the header
  • placing spaces and other special characters at the start of a newline instead of the end of the previous line, even if the line-length was not exceded
  • reordering #, python-format, python-brace-format to #, python-brace-format, python-format

This issue arose when using a combination of this tool with https://poedit.net/ . Of course this issue could also be raised with that tool but ideally neither should do such changes and this one is first in the pipeline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions