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

style: check file eol #1142

Merged
merged 2 commits into from
May 16, 2024
Merged

style: check file eol #1142

merged 2 commits into from
May 16, 2024

Conversation

trim21
Copy link
Contributor

@trim21 trim21 commented May 16, 2024

No description provided.

Comment on lines +8 to +14
- id: mixed-line-ending
args: [--fix=lf]
exclude_types: [batch]
- id: mixed-line-ending
args: [--fix=crlf]
types: [batch]

Copy link
Owner

@Delgan Delgan May 16, 2024

Choose a reason for hiding this comment

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

I don't think this repository will ever contain batch files, can we just force LF for every files please?

Suggested change
- id: mixed-line-ending
args: [--fix=lf]
exclude_types: [batch]
- id: mixed-line-ending
args: [--fix=crlf]
types: [batch]
- id: mixed-line-ending
args: [--fix=lf]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Owner

Choose a reason for hiding this comment

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

Haha, my bad.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

should just remove this file, maybe. Don't think it's useful.

Copy link
Owner

@Delgan Delgan May 16, 2024

Choose a reason for hiding this comment

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

Yes, I agree. I should have run sphinx-quickstart with the --no-batchfile argument.

@Delgan Delgan merged commit be08288 into Delgan:master May 16, 2024
15 of 16 checks passed
@Delgan
Copy link
Owner

Delgan commented May 16, 2024

Thanks!

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