Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow reserverd __XXX__ variable names #105

Merged
merged 2 commits into from
Oct 20, 2015
Merged

Conversation

adiroiban
Copy link
Member

Problem

This is a re-submission for #77

The problem is that names like __dict__ , __version__, __etc__ should always be accepted.

Changes

I have updated the pylint regex expression for attribute names to accept these names.

I place all good and bad examples in a single file so that it is much easier to review/check the values.

How to test

Check the new sample file together with the result and check that it is ok.

try to come with other examples which does not pass the test.

thanks!

@adiroiban
Copy link
Member Author

Waiting in review for a long time :(

adiroiban added a commit that referenced this pull request Oct 20, 2015
Allow reserverd __XXX__ variable names.
@adiroiban adiroiban merged commit 176309e into master Oct 20, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant