algoliasearch-client-python icon indicating copy to clipboard operation
algoliasearch-client-python copied to clipboard

Flake8 Linting Errors

Open base64 opened this issue 5 years ago • 0 comments
trafficstars

  • Algolia Client Version: algoliasearch-2.4.0
  • Language Version: Python 3.8.5 Windows
  • Flake Version: 3.8.3 (mccabe: 0.6.1, pycodestyle: 2.6.0, pyflakes: 2.2.0) CPython 3.8.3 on Windows

Description

The Flake comments in a few places have both a type setting and the ignore flag set which causes the parameter type to be ignored.

Steps To Reproduce

Open search_index_async.py using a Python 3.8 library and observe that line #77 has a linting error on the flake8 description of parameters on exists_async but not browse_rules_async.

image

I was able to resolve this warning in two ways, first by removing the #ignore flag from line #76 or by providing a acorrect return interface,

image

base64 avatar Nov 08 '20 06:11 base64