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

Ensure all text files have end-of-file newlines #54

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Conversation

tsibley
Copy link
Member

@tsibley tsibley commented Oct 30, 2024

A long-standing Unix convention that when broken can lead to confusing and incorrect behaviour from many commands when they read such files.

Checklist

  • Checks pass

@tsibley
Copy link
Member Author

tsibley commented Oct 30, 2024

CI is failing because the update of ingest/vendored brought along—unavoidably so if we're going to update ingest/vendored here for the reasons in this PR—stricter behaviour from transform-genbank-location. See nextstrain/ingest#35 and nextstrain/ingest#36.

@tsibley
Copy link
Member Author

tsibley commented Oct 30, 2024

I was trying to minimally update ingest/vendored here without requiring this repo update to use augur curate commands, but it seems that I miscalculated the possibility of that. I'll just drop the ingest/vendored update from this PR.

A long-standing Unix convention that when broken can lead to confusing
and incorrect behaviour from many commands when they read such files.

The offending files in ingest/vendored will be fixed when we next update
it from upstream.  Updating it now would necessitate a slew of unrelated
changes to this repo.
Copy link
Member

@victorlin victorlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's check this on future PRs? We could use pre-commit's end-of-file-fixer (part of pathogen-repo-guide).

@tsibley tsibley merged commit deb1c34 into main Oct 31, 2024
4 checks passed
@tsibley tsibley deleted the trs/eof-newlines branch October 31, 2024 18:05
@tsibley
Copy link
Member Author

tsibley commented Oct 31, 2024

Sure, if you'd like. I don't want to set up pre-commit for this myself.

@victorlin victorlin mentioned this pull request Oct 31, 2024
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