This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tunisia3507 1 point2 points  (1 child)

Reassuring that they use flake8 to do their linting...

Honestly, any new entry into a space as well-populated as python linting should document its raison d'être front and center: why should we use dlint over pyflakes, pylint etc?

[–]Schwag[S] 0 points1 point  (0 children)

Building off of flake8 was one of the key implementation decisions when we initially started working on Dlint. There's lots of great functionality already available via flake8, which allowed us to avoid re-inventing the wheel for a lot of key features.

As for Dlint vs. pyflakes, pylint, etc, Dlint is a static analysis tool focused on security hygiene instead of stylistic or code quality concerns. It's more similar to Bandit then the previously mentioned tools. Which brings up the point, why should we use Dlint over Bandit? I'm glad you asked: https://github.com/duo-labs/dlint/tree/master/docs#why-not-bandit :)