News for hackers. Stuff that matters.
Re:Show HN: Refurb – A tool for refurbishing and modernizing... by ac130kz on Wednesday September 28, 2022 @04:32AM (#33005622)
Why not a Pylint plugin though?
Re:Show HN: Refurb – A tool for refurbishing and modernizing... by dosisod on Wednesday September 28, 2022 @12:54PM (#33010224)
The 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

Re:Show HN: Refurb – A tool for refurbishing and modernizing... by claytonjy on Wednesday September 28, 2022 @11:12AM (#33008935)
I 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?
Re:Show HN: Refurb – A tool for refurbishing and modernizing... by ac130kz on Wednesday September 28, 2022 @12:39PM (#33010030)
From the pylint documentation it seems the opposite, you just have to extend some methods, and that's it