jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: pywikibot-core, Upstream.
Herald added subscribers: pywikibot-bugs-list, StudiesWorld, Aklapper.
TASK DESCRIPTION
pep257 needs to parse the `__all__` in order to determine which methods are
public. Due to the way `__all__` is built, pep257 is disabled on this module.
```
$ pep257 pywikibot/__init__.py
Could not evaluate contents of __all__. That means pep257 cannot decide which
definitions are public. Variable __all__ should be present at most once in each
file, in form `__all__ = ('a_public_function', 'APublicClass', ...)`. More info
on __all__: http://stackoverflow.com/q/44834/.
```
6e73ad27 removed some of the trickery.
Either the pep257 parser needs to be improved, or the `__all__` list needs to
be constructed without any trickery at all.
TASK DETAIL
https://phabricator.wikimedia.org/T123903
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: Aklapper, StudiesWorld, jayvdb, pywikibot-bugs-list, Luke081515, Krenair
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs