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: Ensure only one line is around the annotation #669

Merged
merged 1 commit into from
Nov 9, 2019
Merged

FIX: Ensure only one line is around the annotation #669

merged 1 commit into from
Nov 9, 2019

Conversation

xrav3nz
Copy link
Contributor

@xrav3nz xrav3nz commented Oct 5, 2019

When there are already a blank line between the magic comment and the class definition, generating annotation would insert an additional blank line after itself, leaving two blank lines between itself and the class definition.

This closes #591.

@ctran ctran added this to the v3.1.0 milestone Nov 9, 2019
@ctran ctran merged commit a816255 into ctran:develop Nov 9, 2019
@xrav3nz xrav3nz deleted the only-one-line-around-annotation branch November 11, 2019 23:17
peterfication pushed a commit to store2be/annotate_models that referenced this pull request Jan 20, 2020
vfonic pushed a commit to vfonic/annotate_models that referenced this pull request May 8, 2020
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.

Double empty lines after annotate comments gives Rubocop error
2 participants