-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider pylint
instead of flake8
#31
Comments
I took a quick look at pylint's capabilites. From what is mentioned on their site, I'm impressed — I like very strict tools. It doesn't look like pylint can do complexity checks. That's not a deal-breaker for me, but flake8 can do it (using the mccabe module). I'd like to try out pylint on a few of my codebases and see how it works. I'll keep you posted. |
Yep! I also like how pylint lets you do stuff like
I don’t know what you mean by “complexity”. I just took a quick look at the Pylint can alert for something that it calls “design”, which points out things like functions that accept too many arguments, classes with too many public attributes, and so on. To see these checks, do Oh! Guess what? I just did
Cool. I look forward to hearing from you! |
P.S.: Also found the plugin You should search for yourself to see if there are any other goodies that appeal to you! |
Nice! The metric that the Heads up: I'm finishing up my thesis right now so I probably won't have time to try pylint for at least a week. |
I think—and I could be wrong, but I’m pretty sure about this—
pylint
can do everythingflake8
does, and more.As usual for this sort of tool, it’s configurable on a user- and project-basis, and the checks it performs can be further refined on the command line. Multiple output formats exist, including configuration options for tailoring the existing outputs to your liking.
Plus, I just like tools with
lint
in their name better than tools withflake
in their name.(“Flakes?” Yuck! I’ll admit my code has lint, but I never want to hear that it has flakes! 👅)
The text was updated successfully, but these errors were encountered: