BasPH / pylint-airflow

Pylint plugin for static code analysis on Airflow code
MIT License
89 stars 12 forks source link

Add pylint version needed for pylint-ariflow to work #6

Open hsnprsd opened 3 years ago

hsnprsd commented 3 years ago

I have installed pylint version 2.6.0 with pylint-airflow version 0.1.0a1 and astroid version 2.4.0 and there is an error when I run pylint.

File "/home/ehsan/.virtualenvs/venv/lib/python3.6/site-packages/pylint_airflow/checkers/operator.py", line 91, in visit_assign
    python_callable_name = keyword.value.name
AttributeError: 'Attribute' object has no attribute 'name'

The name attribute does not exist anymore in the latest version of astroid and it should be attrname now.

@BasPH