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

Add autofix for W292 [NoNewLineAtEndOfFile] #1354

Merged
merged 10 commits into from Dec 24, 2022
Merged

Add autofix for W292 [NoNewLineAtEndOfFile] #1354

merged 10 commits into from Dec 24, 2022

Conversation

Sawbez
Copy link
Contributor

@Sawbez Sawbez commented Dec 23, 2022

I have added an autofix for W292, updated the tests, and updated the README. I'm relatively new to Rust and would love any feedback (even though there isn't many changes). If you would prefer, I could move the check into plugins.rs instead of keeping it in the same file. Also, if you want, I can open an issue as specified in CONTRIBUTING.md if this is considered bigger changes.

Unrelated note: I ran git push on my own machine with my own PAT (personal access token) and somehow on the first commit someone named "@kasryan" committed, but on later commits with the same command and PAT I was correctly shown as the person who committed. I have no clue who @kasryan is.

@charliermarsh
Copy link
Member

Thanks for this -- looks great! No idea what happened with the multiple authors, that's extremely strange, but kind of funny :)

@charliermarsh charliermarsh merged commit 4ded155 into astral-sh:main Dec 24, 2022
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

3 participants