Skip to content

templates: drop unused coding info from all templates#452

Merged
rmilecki merged 1 commit intoinvoice-x:masterfrom
rmilecki:drop-unused-coding-info
Jan 27, 2023
Merged

templates: drop unused coding info from all templates#452
rmilecki merged 1 commit intoinvoice-x:masterfrom
rmilecki:drop-unused-coding-info

Conversation

@rmilecki
Copy link
Copy Markdown
Collaborator

For some unkown reason early templates contained line like:
    # -*- coding: utf-8 -*-

It seems to be unused. It doesn't belong to YAML specification. It seems
like a copy & paste mistake from Python source file.

Remove all those unused lines. All YAML templates as expected to be
UTF-8 encoded anyway.

Those changes were automatically generated using:
sed -i '/coding:/d' src/invoice2data/extract/templates/*/*.yml
find ./tests/custom/ -name "*.yml" -exec sed -i '/coding:/d' {} \;

@rmilecki
Copy link
Copy Markdown
Collaborator Author

Discovered in the #445 (comment)

@rmilecki rmilecki requested a review from bosd January 25, 2023 10:19
For some unkown reason early templates contained line like:
  # -*- coding: utf-8 -*-

It seems to be unused. It doesn't belong to YAML specification. It seems
like a copy & paste mistake from Python source file.

Remove all those unused lines. All YAML templates as expected to be
UTF-8 encoded anyway.

Those changes were automatically generated using:
sed -i '/coding:/d' src/invoice2data/extract/templates/*/*.yml
find ./tests/custom/ -name "*.yml" -exec sed -i '/coding:/d' {} \;

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
@rmilecki rmilecki force-pushed the drop-unused-coding-info branch from 48d7e37 to 6268fb8 Compare January 27, 2023 06:04
@rmilecki rmilecki merged commit dc88083 into invoice-x:master Jan 27, 2023
@rmilecki rmilecki deleted the drop-unused-coding-info branch January 28, 2023 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants