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

spaces_inside_linter ignores trailing comments #638

Merged
merged 8 commits into from Dec 2, 2020

Conversation

MichaelChirico
Copy link
Collaborator

Closes #636

AshesITR
AshesITR previously approved these changes Nov 30, 2020
Copy link
Collaborator

@AshesITR AshesITR left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for catching!

@MichaelChirico
Copy link
Collaborator Author

this darn travis thing. going to close this PR & reopen on a dummy branch

@MichaelChirico
Copy link
Collaborator Author

MichaelChirico commented Nov 30, 2020

@jimhester sorry for the bother... searched around a bit, maybe you could remove travis from branch protection?

jazzband/pip-tools#1229 (comment)

more instructions here:

https://travis-ci.community/t/known-issue-travis-ci-reports-expected-waiting-for-status-to-be-reported-on-the-github-status-api-but-the-status-never-arrives/1154

@AshesITR
Copy link
Collaborator

Looks like the build failures actually expose a bugged edge-case: Multiple spaces still cause a lint.

Copy link
Collaborator

@AshesITR AshesITR left a comment

Choose a reason for hiding this comment

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

Need to fix for multiple trailing spaces followed by # as well.

@MichaelChirico
Copy link
Collaborator Author

good catch; fixed

Copy link
Collaborator

@AshesITR AshesITR left a comment

Choose a reason for hiding this comment

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

LGTM

@AshesITR AshesITR merged commit e74aa0e into master Dec 2, 2020
@AshesITR AshesITR deleted the spaces-inside-trailing-comment branch December 2, 2020 10:04
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.

spaces_inside_linter doesn't ignore trailing comments
2 participants