Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

templates: drop unused coding info from all templates #452

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

rmilecki
Copy link
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
Collaborator Author

Discovered in the #445 (comment)

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 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.

None yet

2 participants