Skip to content

Unexpected error from pylint after upgrade to astroid 2.5. #895

Closed
PennyDreadfulMTG/Penny-Dreadful-Tools
#8447
@drfunjohn

Description

@drfunjohn

Steps to reproduce

astroid 2.5
pylint 2.6.0
elasticsearch 7.10.1
python 3.7.3

from elasticsearch import Elasticsearch
es = Elasticsearch(["test"])
es.indices.delete(index="test", ignore=[400, 404])
  1. run pylint

Current behavior

line 3 >>> E1123: Unexpected keyword argument 'ignore' in method call (unexpected-keyword-arg)

Expected behavior

astroid 2.4.2: no error from pylint

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions