Skip to content

Commit

Permalink
Fix pre-commit findings
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Dec 28, 2022
1 parent f439be6 commit 0087e87
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Expand Up @@ -57,12 +57,12 @@ or latest stable version from GitHub:
Configuration
=============
``AnySearch`` automatically detects whether you use ``Elasticsearch`` or
``AnySearch`` automatically detects whether you use ``Elasticsearch`` or
``OpenSearch`` by looking at which packages are installed.
However, if you have both packages installed, you can instruct ``AnySearch``
which one do you actually want to use. The way to do that is to set the
``ANYSEARCH_PREFERRED_BACKEND`` environment variable to either ``Elasticsearch``
or ``OpenSearch``.
``ANYSEARCH_PREFERRED_BACKEND`` environment variable to either
``Elasticsearch`` or ``OpenSearch``.

For ``Elasticsearch``:

Expand Down
10 changes: 10 additions & 0 deletions setup.cfg
Expand Up @@ -37,3 +37,13 @@ plugins = mypy_django_plugin.main, mypy_drf_plugin.main
#include = .
omit = *tests*
relative_files = True

[doc8]
# doc8 configuration: https://pypi.org/project/doc8/
ignore-path =
docs/_build,
requirements/*.in,
requirements/*.txt,
src/anysearch.egg-info,
max-line-length = 80
sphinx = true

0 comments on commit 0087e87

Please sign in to comment.