diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2018-10-24 12:58:41 -0700 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2018-10-24 13:16:34 -0700 |
commit | 6380c1db52b6b4d06a189bbfad62e3393cde60c8 (patch) | |
tree | 052c99ec631b6713a8f8cf1c66c8bba1a1369347 /kafka/admin/kafka.py | |
parent | a7e28aeacf6579720594bfe9201a8945d2935c3e (diff) | |
download | kafka-python-6380c1db52b6b4d06a189bbfad62e3393cde60c8.tar.gz |
Prevent `pylint` import errors on `six.moves`
`six.moves` is a dynamically-created namespace that doesn't actually
exist and therefore `pylint` can't statically analyze it.
By default, `pylint` is smart enough to realize that and ignore the
import errors.
However, because we vendor it, the location changes to
`kafka.vendor.six.moves` so `pylint` doesn't realize it should be
ignored.
So this explicitly ignores it.
`pylint` documentation of this feature:
http://pylint.pycqa.org/en/1.9/technical_reference/features.html?highlight=ignored-modules#id34
More background:
* https://github.com/PyCQA/pylint/issues/1640
* https://github.com/PyCQA/pylint/issues/223
Diffstat (limited to 'kafka/admin/kafka.py')
0 files changed, 0 insertions, 0 deletions