Skip to content

''' block comment ''' String statement has no effect #2864

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

Closed
badochov opened this issue Apr 12, 2019 · 4 comments
Closed

''' block comment ''' String statement has no effect #2864

badochov opened this issue Apr 12, 2019 · 4 comments
Labels
Invalid Not a bug, already exists or already fixed

Comments

@badochov
Copy link

Steps to reproduce

1.'''block comment'''

Current behavior

closing ''' is highligthed with warning String statement has no effect

Expected behavior

it shouldn't be highlighted

pylint --version output

@matkoniecz
Copy link

pylint --version output

Note that this part seems to be missing in your issue

@badochov
Copy link
Author

2.3.1
astroid 2.2.5
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]

@PCManticore
Copy link
Contributor

For block comments use the # instead of quotes, pylint does not accept the latter as a form of documentation other than in docstrings.

@PCManticore PCManticore added the Invalid Not a bug, already exists or already fixed label Apr 19, 2019
@MoonStruckHorrors
Copy link

I believe this needs to be fixed. Please refer the following tweet:

https://twitter.com/gvanrossum/status/112670605505077248

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Invalid Not a bug, already exists or already fixed
Projects
None yet
Development

No branches or pull requests

4 participants