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

Ignore openapi.json when running end-of-file-fixer #248

Merged
merged 1 commit into from
Nov 23, 2022
Merged

Conversation

samredai
Copy link
Contributor

@samredai samredai commented Nov 22, 2022

Summary

The tests are failing because the generated openapi spec file doesn't have a new line at the end, which trips up the end-of-file-fixer. I think it's ok to just ignore configure the linter to ignore the file since it's auto-generated.

Test Plan

Ran the make check and make test locally and confirmed that a new line in openapi.json is not picked up by the end-of-file-fixer linter.

Deployment Plan

N/A

The tests are failing because the generated openapi spec file doesn't have a new line at the end, which trips up the end-of-file-fixer. I think it's ok to just ignore configure the linter to ignore the file since it's auto-generated.
@samredai samredai merged commit 994e427 into main Nov 23, 2022
@samredai samredai deleted the fix-tests branch May 5, 2023 15:30
youngman-droid pushed a commit to youngman-droid/dj that referenced this pull request Aug 26, 2023
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