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

__all__ is parsed incorrectly #352

webknjaz opened this issue Feb 14, 2019 · 1 comment

__all__ is parsed incorrectly #352

webknjaz opened this issue Feb 14, 2019 · 1 comment


Copy link

@webknjaz webknjaz commented Feb 14, 2019

Causes warning:

__all__ = 'exportable1', 'exportable2'

Works well:

__all__ = ('exportable1', 'exportable2')

But both use valid tuple syntax so in the first case, pydocstyle is not supposed to yell at user.

@webknjaz webknjaz changed the title __all__ is parced incorrectly __all__ is parsed incorrectly Feb 14, 2019

This comment has been minimized.

Copy link

@Nurdok Nurdok commented Feb 19, 2019

Hi @webknjaz, thanks for reporting on this (and sorry for the delay in response)!
I'll try to get to this soon, but realisticly it'll take some time, so if you or someone else are interested in submitting a PR, that would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.