astroid icon indicating copy to clipboard operation
astroid copied to clipboard

Create external plugin for popular library brains ?

Open Pierre-Sassoulas opened this issue 2 years ago • 0 comments

Current behavior

Most brain modules are actually for builtin functions and classes. Those should stay within astroid.

For the external one, if they are simple it's certainly much easier to keep them in astroid directly.

For complex one (like numpy or pandas) there could be an argument to move them to new projects. The package name should probably be something like pylint-numpy as it would be a pylint plugin. The issue then just becomes who will maintain them?

Expected behavior

Well defined criteria and a documented way to create an astroid plugin for a popular and complex library.

See https://github.com/PyCQA/astroid/pull/1298#issuecomment-999161834

Pierre-Sassoulas avatar Dec 23 '21 18:12 Pierre-Sassoulas