4 ms·
Why not a Pylint plugin though?
by ac130kz 4y ago
Why not a Pylint plugin though?
- claytonjy 4y agoI don't know what it takes to make a pylint plugin, but maybe it's cleaner to have a standalone `refurb` and then a `pylint-refurb` could be very simple?
- ac130kz 4y agoFrom the pylint documentation it seems the opposite, you just have to extend some methods, and that's it
- dosisod 4y agoThe reason I didn't just create a pylint/flake8/mypy plugin is because they all use a very specific methodology, whereas I wanted the freedom to architect it the way I wanted. Also, I really needed good type information, which is why I used mypy[0] as the AST parser/type checker. [0]: https://github.com/python/mypy https://github.com/python/mypy