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

[regression] removing whitespace below shebang #187

Closed
jamesbraza opened this issue Apr 24, 2023 · 0 comments · Fixed by #188
Closed

[regression] removing whitespace below shebang #187

jamesbraza opened this issue Apr 24, 2023 · 0 comments · Fixed by #188
Labels
C: style Relates to docstring format style (e.g., Google, NumPy, Sphinx) P: bug PEP 257 violation or existing functionality that doesn't work as documented
Milestone

Comments

@jamesbraza
Copy link

#!/usr/bin/env python

"""a.py"""

docformatter==1.6.3 (also may possibly be 1.6.2 per #186) is removing whitespace below a shebang.

> docformatter a.py leads to:

#!/usr/bin/env python
"""a.py"""

docformatter==1.5.1 didn't use to do that.

@github-actions github-actions bot added the fresh This is a new issue label Apr 24, 2023
@weibullguy weibullguy added P: bug PEP 257 violation or existing functionality that doesn't work as documented C: style Relates to docstring format style (e.g., Google, NumPy, Sphinx) and removed fresh This is a new issue labels Apr 25, 2023
@weibullguy weibullguy added this to the v1.7.0 milestone Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: style Relates to docstring format style (e.g., Google, NumPy, Sphinx) P: bug PEP 257 violation or existing functionality that doesn't work as documented
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants