-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
namedtuple no-member false positives #92
Comments
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore): I can't reproduce the problem with comma separated members. My version is:
Regarding the false positive with _make(), _asdict() and _fields(), it was fixed in pylint-brain with commit https://bitbucket.org/logilab/pylint-brain/commits/a43ebb6c6d7a4afcaf55ff86b38fdc0051ef7247. |
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore): This seems to be fixed in pylint-brain and it's not a problem anymore. |
Original comment by Florian Bruhin (BitBucket: The-Compiler, GitHub: @The-Compiler?): With pylint 1.2.1, Python 3.4.1 and astroid 1.1.1 I still get the following with the provided test script:
|
Toward pylint-dev#92. Co-authored-by: Christopher Wilcox <[email protected]>
Note that the synthtool-generated `.coveragerc` (see pylint-dev#224) does *not* include all changes needed for 100% coverage: see: - googleapis/gapic-generator-python#171 - googleapis/gapic-generator-python#437 Closes pylint-dev#92. Closes pylint-dev#195.
Originally reported by: Jonathan Kotta (BitBucket: jpkotta, GitHub: @jpkotta?)
If a namedtuple is defined with a string, there must be whitespace around each member. In particular, a namedtuple definition with a comma-separated string doesn't work.
Also, the standard methods _make(), _asdict(), and _fields() are not recognized.
astroid is actually not the released 1.0.0, but this rev: https://bitbucket.org/logilab/astroid/commits/5ed6266cab789bc89d882444c938f03953491496
The text was updated successfully, but these errors were encountered: