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

New empty line inserted preceding module attribute #505

Closed
michael-mwp opened this issue Oct 11, 2019 · 0 comments
Closed

New empty line inserted preceding module attribute #505

michael-mwp opened this issue Oct 11, 2019 · 0 comments

Comments

@michael-mwp
Copy link

michael-mwp commented Oct 11, 2019

Description

A new empty line is inserted preceding a module attribute. This occurs for every run of the fantomas tool resulting an undesirable increasing number of empty lines. A new empty line does not appear to be inserted if the module is not decorated with an attribute.

This bug has been introduced in v3.0.0

Repro code

This code demonstrates a module decorated with the AutoOpenAttribute having a new empty line inserted preceding the attribute.

https://jindraivanek.gitlab.io/fantomas-ui/#?code=HYQwtgpgzgDiDGEAEBlA9pAcuadEFgAoIgbQB4BBAVwBc0B5GCYAPgF0iw0ATKgG2QAVAJ5MoSALxEkMpAJpIQkpAFYgA

nojaf added a commit to nojaf/fantomas that referenced this issue Oct 12, 2019
@nojaf nojaf closed this as completed Oct 14, 2019
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

No branches or pull requests

2 participants