Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flake8 Linting Errors #514

Open
base64 opened this issue Nov 8, 2020 · 0 comments
Open

Flake8 Linting Errors #514

base64 opened this issue Nov 8, 2020 · 0 comments

Comments

@base64
Copy link

base64 commented Nov 8, 2020

  • 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

shortcuts added a commit that referenced this issue Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant