Skip to content
pylint plugin for the elasticsearch-dsl package
Python Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pylint_elasticsearch_dsl
tests
.gitignore
.pre-commit-config.yaml
.travis.yml
Makefile
README.md
pyproject.toml
setup.cfg
setup.py

README.md

pylint-elasticsearch-dsl

Build Status PyPI Code style: black

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.

Installation

pip install pylint-elasticsearch-dsl

Scope

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
You can’t perform that action at this time.