Open PCManticore opened 6 years ago
Found one interesting check "no-self-assign" available in ESLint but not in pylint. $ cat sample2.py a = 786 a = a
$ pylint sample2.py
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
$ pylint --version pylint 2.0.0.dev astroid 1.6.3 Python 3.6.4 (default, Jan 7 2018, 15:53:53) [GCC 6.4.0]
At line 2, there can be warning for self assignment.
Let's check if we can learn something from these two tools that we can leverage in pylint. I'm thinking either: