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

fix: blank lines between things with docstrings #954

Merged
merged 4 commits into from
May 18, 2024

Conversation

obmarg
Copy link
Owner

@obmarg obmarg commented May 16, 2024

The cynic-parser pretty printing wasn't putting blank lines before fields & arguments that had docstrings, which made the output quite visually noisy. This implements logic to do this, resulting in much nicer output for this case.

this works but puts indentation on the blank lines, which isn't ideal.

would like to figure out how to fix that
Copy link

netlify bot commented May 16, 2024

Deploy Preview for cynic-querygen-web canceled.

Name Link
🔨 Latest commit 07c3f5f
🔍 Latest deploy log https://app.netlify.com/sites/cynic-querygen-web/deploys/6648907b488d8e000817b2d0

@obmarg obmarg mentioned this pull request May 16, 2024
55 tasks
@obmarg obmarg changed the title flawed attempt to put blank lines between defs fix: blank lines between things with docstrings May 16, 2024
@obmarg obmarg marked this pull request as ready for review May 18, 2024 11:26
@obmarg obmarg enabled auto-merge (squash) May 18, 2024 11:26
@obmarg obmarg merged commit e952085 into main May 18, 2024
6 checks passed
@obmarg obmarg deleted the obmarg-push-xlqxppowtupl branch May 18, 2024 11:29
@cynic-releaser cynic-releaser bot mentioned this pull request May 18, 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.

None yet

1 participant