Skip to main content

pylint plugin for the elasticsearch-dsl package

Project description

pylint-elasticsearch-dsl

pylint plugin for the elasticsearch-dsl package

This plugin is needed to help pylint understand the types of some objects of the elasticsearch-dsl package.

Currently, this plugin only patches the false positive invalid-unary-operand-type error that is triggered when writing for example:

from elasticsearch_dsl import Q

~Q("exists", field="foo")

See this issue for more details.

Contributing

To work on this project, install the development requirements by running:

make install

The tests can be run with:

make test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylint-elasticsearch-dsl-0.1.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

pylint_elasticsearch_dsl-0.1.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page